Tiny bug with date function in t3lib_befunc. Casted timestamp to integer.
[Packages/TYPO3.CMS.git] / t3lib / class.t3lib_matchcondition.php
index 9bc1240..cd55830 100644 (file)
@@ -97,7 +97,7 @@ class t3lib_matchCondition {
                // 'EXT:my_ext/class.browserinfo.php:MyBrowserInfoClass';
                if (is_array($TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_matchcondition.php']['matchConditionClass'])) {
                        foreach ($TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_matchcondition.php']['matchConditionClass'] as $classRef) {
-                               $this->hookObjectsArr[] = &t3lib_div::getUserObj($classRef, '');
+                               $this->hookObjectsArr[] = t3lib_div::getUserObj($classRef, '');
                        }
                }
        }
@@ -468,7 +468,7 @@ class t3lib_matchCondition {
                // deprecated, see above
                if (is_array($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_matchcondition.php']['devices_class']))       {
                        foreach($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_matchcondition.php']['devices_class'] as $_classRef)       {
-                               $_procObj = &t3lib_div::getUserObj($_classRef);
+                               $_procObj = t3lib_div::getUserObj($_classRef);
                                return $_procObj->whichDevice_ext($useragent);
                        }
                }
@@ -534,7 +534,7 @@ class t3lib_matchCondition {
                        }
                }
 
-               $browserInfo = t3lib_utility_client::getBrowserInfo($useragent);
+               $browserInfo = t3lib_utility_Client::getBrowserInfo($useragent);
 
                return $browserInfo;
        }
@@ -544,11 +544,11 @@ class t3lib_matchCondition {
         *
         * @param       string          A string with version number, eg. "/7.32 blablabla"
         * @return      double          Returns double value, eg. "7.32"
-        * @deprecated  since TYPO3 4.3 - use t3lib_utility_client::getVersion() instead
+        * @deprecated  since TYPO3 4.3 - use t3lib_utility_Client::getVersion() instead
         */
        function browserInfo_version($tmp)      {
                t3lib_div::logDeprecatedFunction();
-               return t3lib_utility_client::getVersion($tmp);
+               return t3lib_utility_Client::getVersion($tmp);
        }
 
        /**