fix HTML catalog (oops)

This commit is contained in:
Sébastien Lucas 2012-06-23 21:38:43 +02:00
parent 3c7d0f7308
commit b2f34f428f

View file

@ -201,6 +201,7 @@ from data where book = ?');
if (array_key_exists ($ext, self::$mimetypes)) if (array_key_exists ($ext, self::$mimetypes))
{ {
array_push ($linkArray, $this->getLink ($ext, self::$mimetypes [$ext], Link::OPDS_ACQUISITION_TYPE, $post->name . "." . strtolower ($post->format), "Download")); array_push ($linkArray, $this->getLink ($ext, self::$mimetypes [$ext], Link::OPDS_ACQUISITION_TYPE, $post->name . "." . strtolower ($post->format), "Download"));
$this->format [$ext] = $post->name . "." . strtolower ($post->format);
} }
} }