From: Stéphane Jacob Date: Mon, 10 Jan 2011 13:21:17 +0000 (+0100) Subject: Fixes PlImage. X-Git-Tag: core/1.1.2~7 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=9e43a95219d4ed12f40e5c2c5484d4372a60ae83;p=platal.git Fixes PlImage. Signed-off-by: Stéphane Jacob --- diff --git a/classes/plimage.php b/classes/plimage.php index 6769f4d..a8113db 100644 --- a/classes/plimage.php +++ b/classes/plimage.php @@ -49,7 +49,7 @@ class PlImage { public function path() { if (empty($this->data)) { - return $file; + return $this->file; } else { $name = md5($this->data); $GLOBALS['img' . $name] = $this->data;