fix for bug #3120 - PHP Fatal error: Call to private method sqlfs_stream_wrapper::_pdo()

This commit is contained in:
Ralf Becker 2012-03-07 14:09:43 +00:00
parent 434a612d57
commit e484a9e7b7

View File

@ -1521,7 +1521,7 @@ class sqlfs_stream_wrapper implements iface_stream_wrapper
* *
* @return PDO * @return PDO
*/ */
static private function _pdo() static protected function _pdo()
{ {
$egw_db = isset($GLOBALS['egw_setup']) ? $GLOBALS['egw_setup']->db : $GLOBALS['egw']->db; $egw_db = isset($GLOBALS['egw_setup']) ? $GLOBALS['egw_setup']->db : $GLOBALS['egw']->db;