blob: 98fa4e0a11d7ae5f7a5dff3642d58310d0e2fa84 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
--- ./Image/Canvas.php.orig 2010-05-15 11:53:04.000000000 +0200
+++ ./Image/Canvas.php 2010-05-15 11:53:51.000000000 +0200
@@ -730,7 +730,7 @@
$error = 'PHP extension ming is required for output in swf format.';
$error .= 'Please install the ming extension (http://de.php.net/ming).';
- $error =& new PEAR_Error($error);
+ $error = new PEAR_Error($error);
return $error;
}
}
@@ -742,7 +742,7 @@
$class = 'Image_Canvas_'. $canvas;
include_once 'Image/Canvas/'. str_replace('_', '/', $canvas) . '.php';
- $obj =& new $class($params);
+ $obj = new $class($params);
return $obj;
}
|