Remote odd language construct
authorEileen McNaughton <eileen@mcnaughty.com>
Fri, 27 Nov 2015 04:43:16 +0000 (17:43 +1300)
committerEileen McNaughton <eileen@mcnaughty.com>
Fri, 27 Nov 2015 04:43:16 +0000 (17:43 +1300)
CRM/Report/Form.php

index 4f5faaf6f2da3d02424c0f6d934de07eead4eb43..b55a970b6708b6f90aa4de915ef4b274d5104dc8 100644 (file)
@@ -533,7 +533,7 @@ class CRM_Report_Form extends CRM_Core_Form {
       $this->setOutputMode();
 
       if ($this->_outputMode == 'copy') {
-        $this->_createNew = ($this->_outputMode == 'copy');
+        $this->_createNew = TRUE;
         $this->_params = $this->_formValues;
         $this->_params['view_mode'] = 'criteria';
         $this->_params['title'] = ts('(copy)') . $this->getTitle();