summaryrefslogtreecommitdiff
path: root/modules/gallery/models
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2010-04-07 08:07:41 -0700
committerTim Almdal <tnalmdal@shaw.ca>2010-04-07 08:07:41 -0700
commit9bb4c954bbc10e71a695b57f7e8979a140f4873f (patch)
treefd4317fda83f00775ae7f929af42208159489e39 /modules/gallery/models
parent50b0b73345b7b8aae070f5289dff8e0c2d278fde (diff)
Merge bharat_dev rest implementation
Diffstat (limited to 'modules/gallery/models')
-rw-r--r--modules/gallery/models/item.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gallery/models/item.php b/modules/gallery/models/item.php
index 1026264f..7fc37325 100644
--- a/modules/gallery/models/item.php
+++ b/modules/gallery/models/item.php
@@ -947,7 +947,7 @@ class Item_Model extends ORM_MPTT {
// Elide some internal-only data that is going to cause confusion in the client.
foreach (array("relative_path_cache", "relative_url_cache", "left_ptr", "right_ptr",
- "thumb_dirty", "resize_dirty") as $key) {
+ "thumb_dirty", "resize_dirty", "weight") as $key) {
unset($data[$key]);
}
return $data;