Created
April 20, 2011 15:19
-
-
Save sevein/931604 to your computer and use it in GitHub Desktop.
cast $value as an array
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: lib/model/QubitInformationObject.php | |
=================================================================== | |
--- lib/model/QubitInformationObject.php (revision 9051) | |
+++ lib/model/QubitInformationObject.php (working copy) | |
@@ -127,7 +127,7 @@ | |
} | |
} | |
- $this->values[$name]->__set('value', serialize($value), $options + array('sourceCulture' => true)); | |
+ $this->values[$name]->__set('value', serialize((array)$value), $options + array('sourceCulture' => true)); | |
return $this; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment