SF Patch #3391039 - Remove eval commands from PHP code
This commit is contained in:
committed by
Deon George
parent
059b83befb
commit
7fc4f0c7e4
@@ -51,7 +51,7 @@ abstract class Tree {
|
||||
return null;
|
||||
|
||||
$treeclass = $_SESSION[APPCONFIG]->getValue('appearance','tree');
|
||||
eval('$tree = new '.$treeclass.'($server_id);');
|
||||
$tree = new $treeclass($server_id);
|
||||
|
||||
# If we are not logged in, just return the empty tree.
|
||||
if (is_null($server->getLogin(null)))
|
||||
|
Reference in New Issue
Block a user