Skip to content

Commit d75a1bc

Browse files
committed
Merge pull request #24 from tsawler/Development
Remove extra quote in comparison
2 parents 5784d48 + b184dab commit d75a1bc

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/controllers/DeleteController.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,8 @@ public function getDelete()
8282
if (File::exists($file_name))
8383
{
8484
File::delete($file_name);
85-
if (Session::get('lfm_type') == "Images'")
85+
if (Session::get('lfm_type') == "Images")
8686
File::delete(base_path() . "/" . $this->file_location . "thumbs/" . $to_delete);
87-
8887
return "OK";
8988
}
9089
}

0 commit comments

Comments
 (0)