[Tickets #2982] NEW: PHP4.4 notice

bugs@bugs.horde.org bugs at bugs.horde.org
Wed Nov 16 05:26:30 PST 2005


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=2982
-----------------------------------------------------------------------
 Ticket             | 2982
 Created By         | jens at peino.de
 Summary            | PHP4.4 notice
 Queue              | Ansel
 State              | Unconfirmed
 Priority           | 1. Low
 Type               | Bug
 Owners             | 
-----------------------------------------------------------------------


jens at peino.de (2005-11-16 05:26) wrote:

Hello,

just a usual php 4.4 notice ...



Index: lib/Ansel.php
===================================================================
RCS file: /repository/ansel/lib/Ansel.php,v
retrieving revision 1.120
diff -u -r1.120 Ansel.php
--- lib/Ansel.php       12 Nov 2005 15:45:58 -0000      1.120
+++ lib/Ansel.php       16 Nov 2005 13:24:28 -0000
@@ -300,10 +300,11 @@
         require_once 'Horde/Image.php';
         $params = array('type' => $conf['image']['type'], 'temp' =>
Horde::getTempDir());
         if (!empty($conf['image']['convert'])) {
-            return Horde_Image::factory('im', $params);
+           $horde_image = Horde_Image::factory('im', $params);
         } else {
-            return Horde_Image::factory('gd', $params);
+           $horde_image = Horde_Image::factory('gd', $params);
         }
+       return $horde_image;
     }




More information about the bugs mailing list