Skip to content

Commit

Permalink
Delete temporary variable (#80)
Browse files Browse the repository at this point in the history
  • Loading branch information
Memurame authored Mar 19, 2024
1 parent 941eb63 commit ac93e2b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/Controllers/TestimonialController.php
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,8 @@ public function edit($id)
$testimonial->email = $this->request->getPost('email');
$testimonial->data = json_encode($data);
$testimonial->active = $this->request->getPost('active');
unset($testimonial->dataArray);
unset($testimonial->logArray);


if($this->request->getPost('active') == 2 && $this->request->getPost('notify')){
Expand Down

0 comments on commit ac93e2b

Please sign in to comment.