X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2Fdbm.php;h=bda62f34c2c1d6539bb2c757c7344deec16bfa87;hb=390e34d587ef5bd09759ce63e7e64518398b2018;hp=3430577da6a05665b0e93445f0b973c9745e216f;hpb=d11e3afc6c5ec1bfd6ddca11175514fe88b39672;p=friendica.git diff --git a/include/dbm.php b/include/dbm.php index 3430577da6..bda62f34c2 100644 --- a/include/dbm.php +++ b/include/dbm.php @@ -76,7 +76,7 @@ class dbm { if (is_bool($value)) { $value = ($value ? 'true' : 'false'); - } elseif (is_float($value) OR is_integer($value)) { + } elseif (is_float($value) || is_integer($value)) { $value = (string)$value; } else { $value = "'".dbesc($value)."'"; @@ -110,4 +110,3 @@ class dbm { return date('Y-m-d H:i:s', $timestamp); } } -?>