Apparently the default project for tags is still 0, so make it explicit.
parent
75f62663a9
commit
b7ad4bf47a
|
@ -156,6 +156,7 @@ class IDF_Tag extends Pluf_Model
|
|||
$tag = new IDF_Tag();
|
||||
$tag->name = $name;
|
||||
$tag->class = $class;
|
||||
$tag->project = null;
|
||||
$tag->create();
|
||||
return $tag;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue