Index: trunk/extensions/SimpleSecurity/SimpleSecurity.php |
— | — | @@ -22,7 +22,7 @@ |
23 | 23 | if ( !defined( 'MEDIAWIKI' ) ) die( 'Not an entry point.' ); |
24 | 24 | if ( version_compare( $wgVersion, '1.12.0' ) < 0 ) die( 'Sorry, this extension requires at least MediaWiki version 1.12.0' ); |
25 | 25 | |
26 | | -define( 'SIMPLESECURITY_VERSION', '4.3.3, 2009-05-18' ); |
| 26 | +define( 'SIMPLESECURITY_VERSION', '4.3.4, 2009-07-29' ); |
27 | 27 | |
28 | 28 | # Load the SimpleSecurity class and messages |
29 | 29 | $dir = dirname( __FILE__ ) . '/'; |
— | — | @@ -98,7 +98,7 @@ |
99 | 99 | $patched = preg_replace_callback("/(?<=SELECT ).+?(?= FROM)/", array("SimpleSecurity", "patchSQL"), $sql, 1, $count); |
100 | 100 | return parent::query($count ? $patched : $sql, $fname, $tempIgnore); |
101 | 101 | } |
102 | | - function fetchObject(&$res) { |
| 102 | + function fetchObject($res) { |
103 | 103 | global $wgSimpleSecurity; |
104 | 104 | $row = parent::fetchObject($res); |
105 | 105 | if (is_object($wgSimpleSecurity) && isset($row->old_text)) $wgSimpleSecurity->validateRow($row); |