Skip to content

Commit

Permalink
Image fields are not supported currently (Bug #14659).
Browse files Browse the repository at this point in the history
  • Loading branch information
yunosh committed Jun 29, 2017
1 parent 08abf1e commit 967f6fb
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions whups/lib/Whups.php
Expand Up @@ -1131,8 +1131,10 @@ static public function fieldTypes()
$classes = get_declared_classes();

/* Filter for the Horde_Form_Type classes. */
$blacklist = array('invalid', 'addresslink', 'spacer', 'description',
'captcha', 'figlet', 'header');
$blacklist = array(
'addresslink', 'captcha', 'description', 'figlet', 'header',
'image', 'invalid', 'spacer'
);
foreach ($classes as $class) {
if (stripos($class, 'horde_form_type_') !== false) {
$field_type = substr($class, 16);
Expand Down

0 comments on commit 967f6fb

Please sign in to comment.