[20953] Fix: support mcrypt

Sigurd Nes <[email protected]> Wed, 13 Jan 2010 19:06:55 +0000
Newsgroups gmane.comp.web.phpgroupware.cvs
Message-ID <[email protected]>
Revision: 20953
          http://svn.sv.gnu.org/viewvc/?view=rev&root=phpgroupware&revision=20953
Author:   sigurdne
Date:     2010-01-13 19:06:55 +0000 (Wed, 13 Jan 2010)
Log Message:
-----------
Fix: support mcrypt

Modified Paths:
--------------
    people/sigurdne/modules/phpgwapi/trunk/inc/class.cache.inc.php

Modified: people/sigurdne/modules/phpgwapi/trunk/inc/class.cache.inc.php
===================================================================
--- people/sigurdne/modules/phpgwapi/trunk/inc/class.cache.inc.php	2010-01-13 19:06:11 UTC (rev 20952)
+++ people/sigurdne/modules/phpgwapi/trunk/inc/class.cache.inc.php	2010-01-13 19:06:55 UTC (rev 20953)
@@ -7,7 +7,7 @@
 	* @license http://www.gnu.org/licenses/lgpl.html GNU Lesser General Public License Version 2 or later
 	* @package phpgroupware
 	* @subpackage phpgwapi
-	* @version $Id: class.cache.inc.php 4175 2009-11-22 14:00:45Z sigurd $
+	* @version $Id: class.cache.inc.php 4460 2010-01-10 20:29:42Z sigurd $
 	*/
 
 	/*
@@ -267,7 +267,7 @@
 
 			if(function_exists('gzcompress') && $compress)
 			{
-				$value =  self::_value_return(gzuncompress(base64_decode($value)));
+				$value =  self::_value_return(gzuncompress(base64_decode($value)), $bypass);
 				return $value;
 			}
 			else
@@ -519,7 +519,7 @@
 
 			if(function_exists('gzcompress') && $compress)
 			{
-				$value =  self::_value_return(gzuncompress(base64_decode($value)));
+				$value =  self::_value_return(gzuncompress(base64_decode($value)), $bypass);
 				return $value;
 			}
 			else