]> git.mxchange.org Git - friendica.git/blobdiff - include/dba.php
funny behaviour with post permissions after recent changes
[friendica.git] / include / dba.php
index 9e44db5fbb85188e4bcbf589f34e3c6192b61704..0e790d4c1ca493fd995fa87cf7a1ea3ea0120c2f 100644 (file)
@@ -57,6 +57,10 @@ class dba {
                                        break;
                        }
                }
+               else {
+                       if(($result === false) && (file_exists('dbfail.out')))
+                               file_put_contents('dbfail.out', printable($sql) . ' returned false' . "\n", FILE_APPEND);
+               }
 
                if(($result === true) || ($result === false))
                        return $result;