From: River Tarnell Date: Fri, 1 Jul 2005 09:35:51 +0000 (+0000) Subject: initialised variable X-Git-Tag: 1.5.0beta2~103 X-Git-Url: https://git.cyclocoop.org/%28%28?a=commitdiff_plain;h=d31536de0edc2b837d8030250f14276ee290be78;p=lhc%2Fweb%2Fwiklou.git initialised variable --- diff --git a/includes/User.php b/includes/User.php index 807b4c940a..d968c46920 100644 --- a/includes/User.php +++ b/includes/User.php @@ -1261,6 +1261,8 @@ class User { $fname = 'User::saveNewtalk'; + $changed = false; + if ( wfReadOnly() ) { return ; } $dbr =& wfGetDB( DB_SLAVE ); $dbw =& wfGetDB( DB_MASTER );