* @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;
// The HTML to display the face image.
$imghtml = sprintf("<img src=\"%s\" class=\"bordered-facethumb\" id=\"%s\" alt=\"%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'],
return $html;
}
-
}