From cea5f6dccbc1b66b056e0af9c1b0195d553dc912 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Thu, 25 Sep 2014 06:21:41 +0000 Subject: [PATCH] fix PHP Fatal error under PHP 5.3: Cannot access self:: when no class scope is active --- phpgwapi/inc/class.egw_framework.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpgwapi/inc/class.egw_framework.inc.php b/phpgwapi/inc/class.egw_framework.inc.php index eee94e49c9..102301fd41 100644 --- a/phpgwapi/inc/class.egw_framework.inc.php +++ b/phpgwapi/inc/class.egw_framework.inc.php @@ -938,7 +938,7 @@ abstract class egw_framework { $versions = array(); $security = null; - if (($remote = file_get_contents(egw_framework::CURRENT_VERSION_URL, false, self::proxy_context()))) + if (($remote = file_get_contents(egw_framework::CURRENT_VERSION_URL, false, egw_framework::proxy_context()))) { list($current, $security) = explode("\n", $remote); if (empty($security)) $security = $current;