Removing var_dump, adding validation in resize_picture.php

skala
Julio Montoya 14 years ago
parent 6cb7b25292
commit 6cc4a16cf1
  1. 1
      main/inc/lib/usermanager.lib.php

@ -881,7 +881,6 @@ class UserManager
$ok = false;
$detected = array(1 => 'GIF', 2 => 'JPG', 3 => 'PNG');
var_dump($type);exit;
if (in_array($type, array_keys($detected))) {
$ok = $small->send_image($detected[$type], $path.'small_'.$filename)
&& $medium->send_image($detected[$type], $path.'medium_'.$filename)

Loading…
Cancel
Save