Delete wrong symlink, remove create_function call
create_function call is deprecated with PHP 7.2, so creat_function is replaced by the correct anonymous function call for it
This commit is contained in:
@@ -1 +0,0 @@
|
|||||||
smarty-3.1.27/
|
|
||||||
@@ -99,7 +99,7 @@
|
|||||||
// queue key
|
// queue key
|
||||||
if (preg_match("/^(add|save|delete|remove|move|up|down|push_live)$/", $this->action))
|
if (preg_match("/^(add|save|delete|remove|move|up|down|push_live)$/", $this->action))
|
||||||
{
|
{
|
||||||
$this->queue_key = join('', array_map(create_function('', '$range = $GLOBALS["_KEY_RANGE"]; return $range[rand(0, (count($range) - 1))];'), range(1, 3)));
|
$this->queue_key = join('', array_map(function () { $range = $GLOBALS['_KEY_RANGE']; return $range[rand(0, (count($range) - 1))]; }, range(1, 3)));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user