]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - extlib/DB.php
Use intval on ini_get or we use a string for timeout
[quix0rs-gnu-social.git] / extlib / DB.php
index cfbbe5ed2a204661a7aa29172a728c2f8ed86f7d..1aa9477065ba1e20a6621a1d83fb02f74b32ef6b 100644 (file)
@@ -772,7 +772,7 @@ class DB
             $parsed['dbsyntax'] = $str;
         }
 
-        if (!count($dsn)) {
+        if (!strlen($dsn)) {
             return $parsed;
         }