Changeset 4833

Show
Ignore:
Timestamp:
08/27/08 03:14:06 (10 months ago)
Author:
jwage
Message:

fixes #1356

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/1.0/lib/Doctrine/Cache/Apc.php

    r4782 r4833  
    5555    public function fetch($id, $testCacheValidity = true)  
    5656    { 
    57         return apc_fetch($id); 
     57        $results = apc_fetch($id); 
     58        $results = (array) $results; 
     59        return $results[0]; 
    5860    } 
    5961