Merge branch 'feature-200' of dsa-research.org:one into feature-200

This commit is contained in:
Ruben S. Montero committed 2010-06-11 17:16:43 +02:00
commit 9086162bbb
1 file changed
+3
+3
View File
@@ -119,6 +119,7 @@ public:
};
/** Modify an image attribute in the template OR the public attribute
* and updates it in the DB (Image MUST be locked)
* @param image pointer to Image
* @param name of the attribute to be changed
* @param new value for the attribute
@@ -140,6 +141,8 @@ public:
return image->update_template_attribute(db, name, value);
}
image->update(db);
return rc;
}