Remove superflous code
authorJoey Schulze <joey@infodrom.org>
Wed, 3 Mar 2010 14:14:58 +0000 (15:14 +0100)
committerJoey Schulze <joey@infodrom.org>
Wed, 3 Mar 2010 14:14:58 +0000 (15:14 +0100)
lib/mask.php

index 2df8cfb..8549ee4 100644 (file)
@@ -51,8 +51,6 @@ function build_form($name, $fields)
       foreach ($options as $row)
        $ret[] = sprintf('<option value="%s">%s</option>', $row['id'], $row['text']);
       $ret[] = '</select>';
-    } elseif ($info['type'] == 'date') {
-      error_log('type = date');
     }
     if (array_key_exists('comment',$info))
       $ret[] = sprintf('<span class="comment">%s</span>', $info['comment']);