X-Git-Url: http://git.cyclocoop.org/%22%20%20.%20generer_url_ecrire%28%22mots_tous%22%29%20.%20%22?a=blobdiff_plain;f=includes%2Flibs%2Frdbms%2Fdatabase%2FDatabasePostgres.php;h=38cc4aec60d9e7cb732e760a5d79a998b0b9dd48;hb=55ab84e17da1ffa49558584d0902fca55a8ba167;hp=7d346410e5a5876806f7a29ea4fa5ba990c23c82;hpb=e81a7da6c000384b97319c269ffd1e67afcb8ea8;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/libs/rdbms/database/DatabasePostgres.php b/includes/libs/rdbms/database/DatabasePostgres.php index 7d346410e5..38cc4aec60 100644 --- a/includes/libs/rdbms/database/DatabasePostgres.php +++ b/includes/libs/rdbms/database/DatabasePostgres.php @@ -394,7 +394,7 @@ class DatabasePostgres extends Database { // Forced result for simulated queries return $this->lastAffectedRowCount; } - if ( empty( $this->lastResultHandle ) ) { + if ( !$this->lastResultHandle ) { return 0; }