1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-06 06:38:00 +02:00

PHP Warning removal.

This commit is contained in:
Cameron
2017-01-11 18:45:40 -08:00
parent e48dfd1cb9
commit fcf4427c1e

View File

@@ -47,8 +47,12 @@ class plugin_featurebox_item extends e_model
* @return string * @return string
*/ */
public function sc_featurebox_title($parm = '') public function sc_featurebox_title($parm = '')
{
if(!empty($parm) && is_string($parm))
{ {
parse_str($parm, $parm); parse_str($parm, $parm);
}
$tp = e107::getParser(); $tp = e107::getParser();
if(isset($parm['alt'])) if(isset($parm['alt']))
{ {