From 2df72d90f0a17f01bb3a4b0afe49df99c9848e7a Mon Sep 17 00:00:00 2001 From: Chuck Hagenbuch Date: Fri, 20 Nov 2009 20:10:04 -0500 Subject: [PATCH] Spacing and remove unnecessary reference --- ansel/lib/Faces.php | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/ansel/lib/Faces.php b/ansel/lib/Faces.php index 0b92654a7..909188755 100644 --- a/ansel/lib/Faces.php +++ b/ansel/lib/Faces.php @@ -37,7 +37,7 @@ class Ansel_Faces * @param integer $face Face id * @static */ - static public function delete(&$image, $face = null) + static public function delete($image, $face = null) { if ($image->facesCount == 0) { return true; @@ -125,9 +125,9 @@ class Ansel_Faces // The HTML to display the face image. $imghtml = sprintf("\"%s\"", - $faces->getFaceUrl($face['image_id'], $face_id), - 'facethumb' . $face_id, - htmlspecialchars($face['face_name'])); + $faces->getFaceUrl($face['image_id'], $face_id), + 'facethumb' . $face_id, + htmlspecialchars($face['face_name'])); $img_view_url = Ansel::getUrlFor('view', array('gallery' => $face['gallery_id'], @@ -156,5 +156,4 @@ class Ansel_Faces return $html; } - } -- 2.11.0