]> git.mxchange.org Git - friendica.git/blobdiff - include/dba_pdo.php
Merge pull request #3808 from annando/nets-cid
[friendica.git] / include / dba_pdo.php
index 16f00e88f5475bb940921dd00884c16cbbf4463f..9f2774d9b78c2f85230ed61717a7ca8c4ad7003d 100644 (file)
@@ -190,14 +190,14 @@ class dba {
                 * regardless of any logging that may or may nor be in effect.
                 * These usually indicate SQL syntax errors that need to be resolved.
                 */
-               if (isset($result) AND ($result === false)) {
+               if (isset($result) && ($result === false)) {
                        logger('dba: ' . printable($sql) . ' returned false.' . "\n" . $this->error);
                        if (file_exists('dbfail.out')) {
                                file_put_contents('dbfail.out', datetime_convert() . "\n" . printable($sql) . ' returned false' . "\n" . $this->error . "\n", FILE_APPEND);
                        }
                }
 
-               if (isset($result) AND (($result === true) || ($result === false))) {
+               if (isset($result) && (($result === true) || ($result === false))) {
                        return $result;
                }