fix regression in r52476, point to the correct GD library home page or PHP GD module...
authorShinjiman <shinjiman@users.mediawiki.org>
Sat, 27 Jun 2009 11:52:27 +0000 (11:52 +0000)
committerShinjiman <shinjiman@users.mediawiki.org>
Sat, 27 Jun 2009 11:52:27 +0000 (11:52 +0000)
includes/specials/SpecialVersion.php

index 85165fa..2fdab96 100644 (file)
@@ -138,7 +138,7 @@ class SpecialVersion extends SpecialPage {
                } else {
                        if( function_exists( 'gd_info' ) ) {
                                $gdInfo = gd_info();
-                               if ( strstr( $gdInfo['GD Version'], 'bundled' ) !== '' ) {
+                               if ( strstr( $gdInfo['GD Version'], 'bundled' ) != false ) {
                                        $gd_URL = 'http://www.php.net/gd';
                                }
                                else {