[eGroupWare-svn] r55834 - /trunk/egroupware/api/src/Etemplate/Widget/Select.php

[email protected]
Newsgroups gmane.comp.web.egroupware.cvs
Message-ID <[email protected]>
Author: ralfbecker
Date: Mon Apr 25 21:21:46 2016
New Revision: 55834

URL: http://svn.stylite.de/viewvc/egroupware?rev=55834&view=rev
Log:
check type in all cases to specified eg. select-app was as widget-type was not understood

Modified:
    trunk/egroupware/api/src/Etemplate/Widget/Select.php

Modified: trunk/egroupware/api/src/Etemplate/Widget/Select.php
URL: http://svn.stylite.de/viewvc/egroupware/trunk/egroupware/api/src/Etemplate/Widget/Select.php?rev=55834&r1=55833&r2=55834&view=diff
==============================================================================
--- trunk/egroupware/api/src/Etemplate/Widget/Select.php (original)
+++ trunk/egroupware/api/src/Etemplate/Widget/Select.php Mon Apr 25 21:21:46 2016
@@ -294,7 +294,7 @@
 				unset(self::$request->content[$this->id]);
 				$this->attrs['readonly'] = true;
 			}
-			if(!in_array($this->attrs['type'], self::$cached_types))
+			if(!in_array($type, self::$cached_types))
 			{
 				// adding type specific options here, while keep further options set by app code
 				// we need to make sure to run only once for auto-repeated rows, because


------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.