Commits

Dhananjay Donthula  committed d4d112c

small fix for variable name

  • Participants
  • Parent commits 1a4469d

Comments (0)

Files changed (1)

File app/protected/core/views/MassDeleteView.php

          * Constructs a detail view specifying the controller as
          * well as the model that will have its mass delete displayed.
          */
-        public function __construct($controllerId, $moduleId, RedBeanModel $model, $activeAttributes, $selectedRecordCount, $title, $alertMessage = null, $moduleClassName, $selectedRecordCountFromGet = null)
+        public function __construct($controllerId, $moduleId, RedBeanModel $model, $activeAttributes, $selectedRecordCount, $title, $alertMessage = null, $moduleClassName, $selectedRecordCountFromPost = null)
         {
             assert('is_array($activeAttributes)');
             assert('is_string($title)');
-            $this->controllerId           = $controllerId;
-            $this->moduleId               = $moduleId;
-            $this->model                  = $model;
-            $this->modelClassName         = get_class($model);
-            $this->modelId                = $model->id;
-            $this->activeAttributes       = $activeAttributes;
-            $this->selectedRecordCount    = $selectedRecordCount;
-            $this->title                  = $title;
-            $this->alertMessage           = $alertMessage;
-            $this->moduleClassName        = $moduleClassName;
-            $this->selectedRecordCountFromGet        = $selectedRecordCountFromGet;
+            $this->controllerId                       = $controllerId;
+            $this->moduleId                           = $moduleId;
+            $this->model                              = $model;
+            $this->modelClassName                     = get_class($model);
+            $this->modelId                            = $model->id;
+            $this->activeAttributes                   = $activeAttributes;
+            $this->selectedRecordCount                = $selectedRecordCount;
+            $this->title                              = $title;
+            $this->alertMessage                       = $alertMessage;
+            $this->moduleClassName                    = $moduleClassName;
+            $this->selectedRecordCountFromPost        = $selectedRecordCountFromPost;
 
         }