Skip to content

Commit aa6b744

Browse files
Jack DenningJack Denning
authored andcommitted
remove debug line
1 parent 1a619bb commit aa6b744

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

filemanager/ajax_calls.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,6 @@
8282
$info = pathinfo($_POST['name']);
8383
$image_data = $_POST['url'];
8484

85-
response('did not match data URI with image data'.AddErrorLocation())->send();
86-
8785
if (preg_match('/^data:image\/(\w+);base64,/', $image_data, $type)) {
8886
$image_data = substr($image_data, strpos($image_data, ',') + 1);
8987
$type = strtolower($type[1]); // jpg, png, gif

0 commit comments

Comments
 (0)