summaryrefslogtreecommitdiff
path: root/ext/spl/examples/dbaarray.inc
diff options
context:
space:
mode:
Diffstat (limited to 'ext/spl/examples/dbaarray.inc')
-rw-r--r--ext/spl/examples/dbaarray.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/spl/examples/dbaarray.inc b/ext/spl/examples/dbaarray.inc
index d448ad7299..d6ee56f442 100644
--- a/ext/spl/examples/dbaarray.inc
+++ b/ext/spl/examples/dbaarray.inc
@@ -49,12 +49,12 @@ class DbaArray extends DbaReader implements ArrayAccess
*/
function offsetGet($name)
{
- $data = dba_fetch($name, $this->db);
+ $data = dba_fetch($name, $this->db);
if($data) {
//return unserialize($data);
return $data;
}
- else
+ else
{
return NULL;
}