summaryrefslogtreecommitdiff
path: root/core/models
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2008-12-02 21:25:15 +0000
committerTim Almdal <tnalmdal@shaw.ca>2008-12-02 21:25:15 +0000
commit3953dde2c698d89810661435b2602fbdb55c322e (patch)
tree37da3672e8d84d26b90a913a4c5ef0c7a3053829 /core/models
parentea11562e3270764a1083b0b7e236be5331626504 (diff)
The rearrange module will now add an album if you drag the "new album" onto the album tree. I haven't had a chance to figure out why the form does get any styling or why a textarea is no included as a list item.
Diffstat (limited to 'core/models')
-rw-r--r--core/models/item.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/models/item.php b/core/models/item.php
index 99a9c32a..9d23170f 100644
--- a/core/models/item.php
+++ b/core/models/item.php
@@ -21,6 +21,8 @@ class Item_Model extends ORM_MPTT {
protected $children = 'items';
protected $has_one = array("owner" => "user");
+ var $rules = array();
+
/**
* Is this item an album?
* @return true if it's an album