-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Description
Undefined variable: affected
APPPATH/Libraries/Crud_core.php at line 398
391 $insertedFilesAffectedRows = false;
392 if ($filesData) {
393 foreach ($filesData as $fileDataKey => $fileDataOptions) {
394 $insertedFilesAffectedRows = $this->filesHandler($fileDataKey, $fileDataOptions);
395 }
396 }
397
398 if ($insertedFilesAffectedRows || $affected || $toDelete || $toInsert)
399 $this->flash('success', 'Successfully Updated');
400 else
401 $this->flash('warning', 'The record was not updated or no changes were made');
402
403 return ['redirect' => $this->base . '/' . $this->table . '/edit/' . $this->id];
404 } else {
Metadata
Metadata
Assignees
Labels
No labels