iliaa           Thu Sep 19 21:25:56 2002 EDT

  Modified files:              
    /php4/ext/gd        gd.c 
  Log:
  Fixed bug #19487
  
  
Index: php4/ext/gd/gd.c
diff -u php4/ext/gd/gd.c:1.213 php4/ext/gd/gd.c:1.214
--- php4/ext/gd/gd.c:1.213      Thu Sep 19 20:47:00 2002
+++ php4/ext/gd/gd.c    Thu Sep 19 21:25:55 2002
@@ -18,7 +18,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: gd.c,v 1.213 2002/09/20 00:47:00 sniper Exp $ */
+/* $Id: gd.c,v 1.214 2002/09/20 01:25:55 iliaa Exp $ */
 
 /* gd 1.2 is copyright 1994, 1995, Quest Protein Database Center, 
    Cold Spring Harbor Labs. */
@@ -1167,7 +1167,7 @@
        
        convert_to_string_ex(file);
 
-       if (argc == 4 && image_type == PHP_GDIMG_TYPE_GD2PART) {
+       if (argc == 5 && image_type == PHP_GDIMG_TYPE_GD2PART) {
                multi_convert_to_long_ex(4, srcx, srcy, width, height);
        }
        



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to