1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-10 08:34:09 +02:00

Closes #1801 Code cleanup. Deprecated method errors added.

This commit is contained in:
Cameron
2020-12-22 14:48:28 -08:00
parent 881670d92c
commit 402d1f4126
37 changed files with 347 additions and 393 deletions

View File

@@ -464,7 +464,7 @@ class e_array {
// e107::getDebug()->log("Json data found");
if(e_DEBUG === true && json_last_error() != JSON_ERROR_NONE && !e107::isCli())
if(deftrue('e_DEBUG') && json_last_error() != JSON_ERROR_NONE && !e107::isCli())
{
e107::getDebug()->log("e107::unserialize() Parser Error (json)");
@@ -623,9 +623,7 @@ class e_array {
function write($ArrayData, $AddSlashes = true)
{
return $this->serialize($ArrayData, $AddSlashes);
return $this->serialize($ArrayData, $AddSlashes);
}
/**