1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-03 13:17:24 +02:00

Remove PHP warning

This commit is contained in:
Steve Davies
2012-12-08 17:23:54 +00:00
parent 09d05d38ae
commit 8a4c2ef1d0

View File

@@ -39,7 +39,7 @@ class siteinfo_shortcodes // must match the folder name of the plugin.
return SITETAG; return SITETAG;
} }
function sc_logo($parm) function sc_logo($parm = '')
{ {
parse_str(vartrue($parm)); // Optional {LOGO=file=file_name} or {LOGO=link=url} or {LOGO=file=file_name&link=url} parse_str(vartrue($parm)); // Optional {LOGO=file=file_name} or {LOGO=link=url} or {LOGO=file=file_name&link=url}
// Paths to image file, link are relative to site base // Paths to image file, link are relative to site base