mirror of
https://github.com/e107inc/e107.git
synced 2025-01-17 12:48:24 +01:00
Null coalesce optional variable in link.bb
This commit is contained in:
parent
76c0f7ecdd
commit
638412af09
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user