From: Tim Starling Date: Fri, 10 Jun 2011 07:48:21 +0000 (+0000) Subject: Fix for logic error in r89529 causing a notice. X-Git-Tag: 1.31.0-rc.0~29597 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/?a=commitdiff_plain;h=408cd51930b9669ca56d6c881f1d627ed10a2aca;p=lhc%2Fweb%2Fwiklou.git Fix for logic error in r89529 causing a notice. --- diff --git a/includes/installer/DatabaseUpdater.php b/includes/installer/DatabaseUpdater.php index c240025744..a369df0695 100644 --- a/includes/installer/DatabaseUpdater.php +++ b/includes/installer/DatabaseUpdater.php @@ -94,7 +94,7 @@ abstract class DatabaseUpdater { if ( !$vars ) { return; // no LocalSettings found } - if ( !isset( $vars['wgHooks'] ) && !isset( $vars['wgHooks']['LoadExtensionSchemaUpdates'] ) ) { + if ( !isset( $vars['wgHooks'] ) || !isset( $vars['wgHooks']['LoadExtensionSchemaUpdates'] ) ) { return; } global $wgHooks, $wgAutoloadClasses;