Details
-
Type: Sub-task
-
Status: Done/Fixed
-
Priority: Trivial
-
Resolution: Won't Fix
-
Affects Version/s: 3.4.0, 4.0.0, 4.1.0, Unscheduled
-
Fix Version/s: 4.1.0
-
Component/s: Core CiviCRM
-
Labels:None
Description
diff --git CRM/Activity/Form/Search.php CRM/Activity/Form/Search.php
index c55c2ab..4a6d880 100644
— CRM/Activity/Form/Search.php
+++ CRM/Activity/Form/Search.php
@@ -451,11 +451,9 @@ class CRM_Activity_Form_Search extends CRM_Core_Form
if ( ! $this->_force )
- $status = CRM_Utils_Request::retrieve( 'status', 'String', CRM_Core_DAO::$_nullObject );
- if ( $status )
{
- $this->_formValues['activity_status_id'] = $status;
- $this->_defaults ['activity_status_id'] = $status;
- }
+ $status = (string) CRM_Utils_Request::retrieve( 'status', 'String', CRM_Core_DAO::$_nullOb
+ $this->_formValues['activity_status_id'] = $status;
+ $this->_defaults ['activity_status_id'] = $status;
$survey = CRM_Utils_Request::retrieve( 'survey', 'Positive',
CRM_Core_DAO::$_nullObject );