File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -301,11 +301,11 @@ protected function _massStatusAction()
301
301
$ statusFieldName = $ this ->_statusField ;
302
302
303
303
if (is_null ($ status )) {
304
- throw new Exception (__ ('Parameter "Status" missing in request data. ' ));
304
+ throw new \ Exception (__ ('Parameter "Status" missing in request data. ' ));
305
305
}
306
306
307
307
if (is_null ($ statusFieldName )) {
308
- throw new Exception (__ ('Status Field Name is not specified. ' ));
308
+ throw new \ Exception (__ ('Status Field Name is not specified. ' ));
309
309
}
310
310
311
311
foreach ($ ids as $ id ) {
Original file line number Diff line number Diff line change @@ -116,7 +116,7 @@ public function prepareData($data)
116
116
117
117
foreach ($ this ->_requiredFields as $ field ) {
118
118
if (empty ($ data [$ field ])) {
119
- throw new Exception (__ ('Parameter %1 is required ' , $ field ), 1 );
119
+ throw new \ Exception (__ ('Parameter %1 is required ' , $ field ), 1 );
120
120
}
121
121
}
122
122
You can’t perform that action at this time.
0 commit comments