mirror of
https://github.com/e107inc/e107.git
synced 2025-08-05 14:17:49 +02:00
Null coalesce optional variable in link.bb
This commit is contained in:
@@ -51,7 +51,7 @@ global $pref;
|
||||
$parm .= ']';
|
||||
}
|
||||
|
||||
list($link,$extras) = explode(" ",$parm);
|
||||
list($link,$extras) = array_pad(explode(" ",$parm), 2, null);
|
||||
|
||||
if(!$parm) $link = $code_text;
|
||||
|
||||
|
Reference in New Issue
Block a user