X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2Flibs%2Frdbms%2Fdatabase%2FDatabasePostgres.php;h=38cc4aec60d9e7cb732e760a5d79a998b0b9dd48;hp=7d346410e5a5876806f7a29ea4fa5ba990c23c82;hb=a2c8c2969420a0f150c03f76e3a0bf9028fcda43;hpb=811688032e8d88ce218e1357e4dd3fde0d188c62 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; }