mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 23:13:15 +00:00
Merge with 3.7
This commit is contained in:
@@ -112,7 +112,7 @@ function giveMeBases(Application $app, $usr = null)
|
||||
$collInscript = $baseInscript;
|
||||
$defined = false;
|
||||
$cguSpec = false;
|
||||
if ($xml = simplexml_load_string($collection->get_prefs())) {
|
||||
if (false !== $xml = simplexml_load_string($collection->get_prefs())) {
|
||||
$defined = true;
|
||||
foreach ($xml->xpath('/baseprefs/caninscript') as $caninscript) {
|
||||
$tmp = (string) $caninscript;
|
||||
|
Reference in New Issue
Block a user