| 
      
      
      From: <gem...@li...> - 2013-04-03 12:53:03
      
     | 
| Revision: 1211
          http://sourceforge.net/p/gemstracker/code/1211
Author:   matijsdejong
Date:     2013-04-03 12:52:59 +0000 (Wed, 03 Apr 2013)
Log Message:
-----------
Logic error causes warnings, also in trunk
Modified Paths:
--------------
    trunk/library/classes/GemsEscort.php
Modified: trunk/library/classes/GemsEscort.php
===================================================================
--- trunk/library/classes/GemsEscort.php	2013-04-03 12:25:27 UTC (rev 1210)
+++ trunk/library/classes/GemsEscort.php	2013-04-03 12:52:59 UTC (rev 1211)
@@ -430,10 +430,10 @@
 
         return $locale;
     }
-    
+
     /**
      * Initialize the OpenRosa survey source
-     * 
+     *
      * @param Zend_Controller_Action $actionController
      */
     public function _initOpenRosa(Zend_Controller_Action $actionController = null)
@@ -441,12 +441,12 @@
         if ($this->getOption('useOpenRosa')) {
             // First handle dependencies
             $this->bootstrap(array('db', 'loader', 'util'));
-            
+
             $this->getLoader()->addPrefixPath('OpenRosa', GEMS_LIBRARY_DIR . '/classes/OpenRosa', true);
-            
+
             $autoloader = Zend_Loader_Autoloader::getInstance();
             $autoloader->registerNamespace('OpenRosa_');
-            
+
             /**
              * Add Source for OpenRosa
              */
@@ -629,7 +629,7 @@
      */
     protected function _initZFDebug()
     {
-        if ((APPLICATION_ENV === 'production') &&
+        if ((APPLICATION_ENV === 'production') ||
                 (false !== strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE 6.'))) {
             // Never on on production systems, never for IE 6
             return;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
 |