summaryrefslogtreecommitdiff
path: root/modules/gallery/models
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2010-01-29 14:07:15 -0800
committerBharat Mediratta <bharat@menalto.com>2010-01-29 14:07:15 -0800
commit3e2adae95385295ca6dfe1c5ff1c36c18ca0aab2 (patch)
tree38bb03c36b329d9bd075cc8c0f85302e66a63e84 /modules/gallery/models
parent45cdac973d35de083875ed966ac687b805d60e7f (diff)
parentc4e360431564627003e4c7864b5dd5a07297e91e (diff)
Merge branch 'master' of git@github.com:gallery/gallery3
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 ae1b6608..ae6e4cc9 100644
--- a/modules/gallery/models/item.php
+++ b/modules/gallery/models/item.php
@@ -720,7 +720,7 @@ class Item_Model extends ORM_MPTT {
/**
* Specify our rules here so that we have access to the instance of this model.
*/
- public function validate($array=null) {
+ public function validate(Validation $array=null) {
if (!$array) {
$this->rules = array(
"album_cover_item_id" => array("callbacks" => array(array($this, "valid_album_cover"))),