Remove a stray debug function that snuck in.
darkmorford -
7fe186c7689f
Not Reviewed
Show More
Add another comment
TODOs: 0 unresolved 0 Resolved
COMMENTS: 0 General 0 Inline
@@ -42,7 +42,6 if( $_POST ) {
42 $imagedata = getimagesize($_FILES['comicFile']['tmp_name']);
42 $imagedata = getimagesize($_FILES['comicFile']['tmp_name']);
43 $strip->media = $imagedata[2];
43 $strip->media = $imagedata[2];
44 $fileext = $dbConnection->fetchColumn('SELECT extension FROM media_t WHERE id = ?', array($strip->media), 0, array(PDO::PARAM_INT));
44 $fileext = $dbConnection->fetchColumn('SELECT extension FROM media_t WHERE id = ?', array($strip->media), 0, array(PDO::PARAM_INT));
45 var_dump($fileext);
46
45
47 if(strlen($fileext) < 3)
46 if(strlen($fileext) < 3)
48 {
47 {
Comments 0
You need to be logged in to leave comments. Login now