2
0
forked from Wavyzz/dolibarr
* fix cti

Dead catch - OdfException is never thrown in the try block.

* Update json.lib.php
This commit is contained in:
Frédéric FRANCE
2024-06-03 13:43:20 +02:00
committed by GitHub
parent f34b6da91b
commit 689cfc36eb
2 changed files with 36 additions and 37 deletions

View File

@@ -297,7 +297,6 @@ function dol_json_decode($json, $assoc = false)
if ($out != '') {
try {
// @phan-suppress-next-line PhanPluginUnsafeEval
//print debug_print_backtrace();
eval('$array = '.$out.';'); // not secured but this is no mode used as php json lib is always expected to be loaded now.
} catch (Exception $e) {
$array = array();