Skip to content
Snippets Groups Projects
Commit d43038fb authored by llaffont's avatar llaffont
Browse files

Correction player gallic a

parent 06f071d6
No related merge requests found
......@@ -21,10 +21,10 @@
class ZendAfi_View_Helper_GallicaPlayer extends Zend_View_Helper_HtmlElement {
public function gallicaPlayer($album_or_id_ark) {
if (is_int($album_or_id_ark))
$id_ark = $album_or_id_ark;
else
if (is_object($album_or_id_ark))
$id_ark = $album_or_id_ark->getGallicaArkId();
else
$id_ark = $album_or_id_ark;
return sprintf(
'<object
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment