Skip to content
This repository has been archived by the owner on May 11, 2019. It is now read-only.

Commit

Permalink
Merge pull request #24 from tsawler/Development
Browse files Browse the repository at this point in the history
Remove extra quote in comparison
  • Loading branch information
tsawler committed Jun 30, 2015
2 parents 5784d48 + b184dab commit d75a1bc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/controllers/DeleteController.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,8 @@ public function getDelete()
if (File::exists($file_name))
{
File::delete($file_name);
if (Session::get('lfm_type') == "Images'")
if (Session::get('lfm_type') == "Images")
File::delete(base_path() . "/" . $this->file_location . "thumbs/" . $to_delete);

return "OK";
}
}
Expand Down

0 comments on commit d75a1bc

Please sign in to comment.