From: Aaron Schulz Date: Mon, 30 Mar 2009 23:13:34 +0000 (+0000) Subject: Fixed fatal from r49045 X-Git-Tag: 1.31.0-rc.0~42265 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/membres/fiche.php?a=commitdiff_plain;h=deaeee095a37f096bbf3cacc82e5f84741bc081b;p=lhc%2Fweb%2Fwiklou.git Fixed fatal from r49045 --- diff --git a/includes/QueryPage.php b/includes/QueryPage.php index b22231fc1a..cb333563d8 100644 --- a/includes/QueryPage.php +++ b/includes/QueryPage.php @@ -245,7 +245,7 @@ class QueryPage { # Save results into the querycache table on the master if ( count( $vals ) ) { - if ( !$dbw->insert( 'querycache', $vals, __METHOD__ ) { + if ( !$dbw->insert( 'querycache', $vals, __METHOD__ ) ) { // Set result to false to indicate error $dbr->freeResult( $res ); $res = false;