]> git.mxchange.org Git - friendica.git/commitdiff
örgs
authorMichael <heluecht@pirati.ca>
Tue, 13 Jun 2017 05:56:02 +0000 (05:56 +0000)
committerMichael <heluecht@pirati.ca>
Tue, 13 Jun 2017 05:56:02 +0000 (05:56 +0000)
include/dba.php

index e1330d4424de7b9498ee0a8a8cb2ef0abeb04a1f..3e62da892f665762372340a54501be9a74522ad3 100644 (file)
@@ -691,7 +691,7 @@ class dba {
 
                        self::close($stmt);
 
-               } while ((self::$dbo->errorno = 1213) && (--$timeout > 0));
+               } while ((self::$dbo->errorno == 1213) && (--$timeout > 0));
 
                if (self::$dbo->errorno != 0) {
                        // We have to preserve the error code, somewhere in the logging it get lost