summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--core/models/item.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/models/item.php b/core/models/item.php
index 1ab78878..afed45f8 100644
--- a/core/models/item.php
+++ b/core/models/item.php
@@ -293,7 +293,7 @@ class Item_Model extends ORM_MPTT {
$this->weight = $r->max_weight + 1;
// Let albums have a weight of based on the largest -ve number so they come first.
if ($this->is_album()) {
- $this->weight = -(0x7FFFFFFF - $this->weight;
+ $this->weight = -(0x7FFFFFFF - $this->weight);
}
}
}