summaryrefslogtreecommitdiff
path: root/www/gallery2/files/patch-modules-core-classes-GalleryStorage-GalleryStorageExtras.class
blob: 0c6de68305d3a9fc6814f42049d8058be398d0da (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
Obtained from:	https://github.com/bobosch/gallery2/commit/4fc50203a12b78217999df00759d70d283efce2f

--- modules/core/classes/GalleryStorage/GalleryStorageExtras.class.orig
+++ modules/core/classes/GalleryStorage/GalleryStorageExtras.class
@@ -190,7 +190,7 @@ class GalleryStorageExtras /* the other half of GalleryStorage */ {
 			$value = $this->_gs->_normalizeValue($row[$i], $memberData[$i], true);
 
 			/* Store the value in the object */
-			$entity->$callbacks[$i] = $value;
+			$entity->{$callbacks[$i]} = $value;
 			$entity->_persistentStatus['originalValue'][$callbacks[$i]] = $value;
 		    }