Merge pull request #9868 from atm-ph/fix_develop_php_warnings_in_js
Fix PHP warnings printed in javascript
This commit is contained in:
commit
e875aee2c5
@ -7094,6 +7094,8 @@ function printCommonFooter($zone='private')
|
|||||||
$relativepathstring = preg_replace('/^\//', '', $relativepathstring);
|
$relativepathstring = preg_replace('/^\//', '', $relativepathstring);
|
||||||
$relativepathstring = preg_replace('/^custom\//', '', $relativepathstring);
|
$relativepathstring = preg_replace('/^custom\//', '', $relativepathstring);
|
||||||
$tmpqueryarraywehave=explode('&', dol_string_nohtmltag($_SERVER['QUERY_STRING']));
|
$tmpqueryarraywehave=explode('&', dol_string_nohtmltag($_SERVER['QUERY_STRING']));
|
||||||
|
if (!empty($user->default_values[$relativepathstring]['focus']))
|
||||||
|
{
|
||||||
foreach($user->default_values[$relativepathstring]['focus'] as $defkey => $defval)
|
foreach($user->default_values[$relativepathstring]['focus'] as $defkey => $defval)
|
||||||
{
|
{
|
||||||
$qualified = 0;
|
$qualified = 0;
|
||||||
@ -7119,6 +7121,9 @@ function printCommonFooter($zone='private')
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
if (!empty($user->default_values[$relativepathstring]['mandatory']))
|
||||||
|
{
|
||||||
foreach($user->default_values[$relativepathstring]['mandatory'] as $defkey => $defval)
|
foreach($user->default_values[$relativepathstring]['mandatory'] as $defkey => $defval)
|
||||||
{
|
{
|
||||||
$qualified = 0;
|
$qualified = 0;
|
||||||
@ -7146,6 +7151,7 @@ function printCommonFooter($zone='private')
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// Google Analytics
|
// Google Analytics
|
||||||
// TODO Add a hook here
|
// TODO Add a hook here
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user