Author: jablko
Date: Wed Oct 27 23:56:33 2010
New Revision: 8605
Log:
isset(null) should return false, fixes issue 1560
Modified:
trunk/vendor/symfony/lib/action/sfComponent.class.php
Modified: trunk/vendor/symfony/lib/action/sfComponent.class.php
==============================================================================
--- trunk/vendor/symfony/lib/action/sfComponent.class.php Wed Oct 27
23:54:32 2010 (r8604)
+++ trunk/vendor/symfony/lib/action/sfComponent.class.php Wed Oct 27
23:56:33 2010 (r8605)
@@ -352,7 +352,9 @@
*/
public function __isset($name)
{
- return $this->varHolder->has($name);
+ $value = $this->varHolder->get($name);
+
+ return isset($value);
}
public function offsetExists($offset)
--
You received this message because you are subscribed to the Google Groups
"Qubit Toolkit Commits" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/qubit-commits?hl=en.