Apparently the default project for tags is still 0, so make it explicit.

This commit is contained in:
Thomas Keller 2012-04-19 00:37:09 +02:00
parent 75f62663a9
commit b7ad4bf47a

View File

@ -156,6 +156,7 @@ class IDF_Tag extends Pluf_Model
$tag = new IDF_Tag(); $tag = new IDF_Tag();
$tag->name = $name; $tag->name = $name;
$tag->class = $class; $tag->class = $class;
$tag->project = null;
$tag->create(); $tag->create();
return $tag; return $tag;
} }