"dont set unneeded extension data"

This commit is contained in:
Ralf Becker 2008-11-13 16:50:05 +00:00
parent a921812095
commit d61c1af60f

View File

@ -80,7 +80,7 @@ class url_widget
{ {
$readonly = $cell['readonly'] || $readonlys; $readonly = $cell['readonly'] || $readonlys;
switch($extension_data = $cell['type']) switch($cell['type'])
{ {
case 'url-email': // size: size,max-size,{2=no validation,1=rfc822 name part allowed, default only email},default if value empty case 'url-email': // size: size,max-size,{2=no validation,1=rfc822 name part allowed, default only email},default if value empty
list($size,$max_size,$validation_type,$default) = explode(',',$cell['size'],4); // 4 = allow default to contain commas list($size,$max_size,$validation_type,$default) = explode(',',$cell['size'],4); // 4 = allow default to contain commas