From d61c1af60f67237bb61dde07506a2139a33cc27a Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Thu, 13 Nov 2008 16:50:05 +0000 Subject: [PATCH] "dont set unneeded extension data" --- etemplate/inc/class.url_widget.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etemplate/inc/class.url_widget.inc.php b/etemplate/inc/class.url_widget.inc.php index 82e0f7791a..f61999eb4b 100644 --- a/etemplate/inc/class.url_widget.inc.php +++ b/etemplate/inc/class.url_widget.inc.php @@ -80,7 +80,7 @@ class url_widget { $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 list($size,$max_size,$validation_type,$default) = explode(',',$cell['size'],4); // 4 = allow default to contain commas