6.0.0-beta1
8/9/25

[#2982] PHP4.4 notice
Summary PHP4.4 notice
Queue Ansel
Type Bug
State Resolved
Priority 1. Low
Owners
Requester jens (at) peino (dot) de
Created 11/16/2005 (7206 days ago)
Due
Updated 11/16/2005 (7206 days ago)
Assigned
Resolved 11/16/2005 (7206 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
11/16/2005 01:59:23 PM Jan Schneider Comment #2
State ⇒ Resolved
Reply to this comment
Committed, thanks.
11/16/2005 01:26:29 PM jens (at) peino (dot) de Comment #1
State ⇒ Unconfirmed
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ PHP4.4 notice
Queue ⇒ Ansel
Reply to this comment
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;

      }

Saved Queries