]> granicus.if.org Git - php/commitdiff
E_WARNING into E_ERROR, Last commit (today)! I PROMISE! :-)
authorMathieu Kooiman <mathieu@php.net>
Wed, 8 Nov 2000 18:41:22 +0000 (18:41 +0000)
committerMathieu Kooiman <mathieu@php.net>
Wed, 8 Nov 2000 18:41:22 +0000 (18:41 +0000)
ext/gd/gd.c

index 7a150bcaf73155ecc1a787be781e30707e4195f5..ac625b7726957a30d61d30c79d7dcb819bec40ae 100644 (file)
@@ -602,7 +602,7 @@ PHP_FUNCTION (imagecreatefromstring)
 
        ZEND_REGISTER_RESOURCE(return_value, im, GDG (le_gd));
 #else
-       php_error(E_WARNING, "ImageCreateFromString: Only available with GD 1.5+");
+       php_error(E_ERROR, "ImageCreateFromString: Only available with GD 1.5+");
 #endif
 }
 /* }}} */