Archived
1
0
Fork 0

fixed a bunch of stuff

This commit is contained in:
Fredric N 2011-05-28 18:33:37 +02:00
parent 019a1e01dd
commit 2edc535102
19 changed files with 180 additions and 66 deletions

View file

@ -16,6 +16,9 @@ class ModelTag extends Fiktiv_Model_Abstract
foreach ($tags as $key => $tag) {
$tags[$key] = trim($tag);
if (empty($tags[$key]))
continue;
$tag = $this->fetchRow($this->quoteInto('name = ?', $tags[$key]));
if (!$tag) {