R51946 - /trunk/infolog/inc/class.infolog_favorite_portlet.inc.php

Author: nathangray
New Revision: 51946

URL: http://svn.stylite.de/viewvc/egroupware?rev=51946&view=rev
Log:
Make sure favorite portlet passes type check, fixes custom type templates missing on home

Modified:
trunk/infolog/inc/class.infolog_favorite_portlet.inc.php

Modified: trunk/infolog/inc/class.infolog_favorite_portlet.inc.php
URL: http://svn.stylite.de/viewvc/egroupware/trunk/infolog/inc/class.infolog_favorite_portlet.inc.php?rev=51946&r1=51945&r2=51946&view=diff

— trunk/infolog/inc/class.infolog_favorite_portlet.inc.php (original)
+++ trunk/infolog/inc/class.infolog_favorite_portlet.inc.php Tue Feb 24 20:29:47 2015
@@ -63,6 +63,16 @@
*/
public static function get_rows(&$query, &$rows, &$readonlys)
{

  •   // Make sure we pass the type check
    
  •   if ($query['col_filter']['info_type'])
    
  •   {
    
  •   	$tpl = new etemplate_new;
    
  •   	if ($tpl->read('infolog.index.rows.'.$query['col_filter']['info_type']))
    
  •   	{
    
  •   		$query['template'] = $tpl->name;
    
  •   		$query['custom_fields'] = true;	// read the custom fields too
    
  •   	}
    
  •   }
      $ui = new infolog_ui();
      $total = $ui->get_rows($query, $rows, $readonlys);
      // infolog_ui overwrites what we set in constructor
    

Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/


eGroupWare-cvs mailing list
eGroupWare-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-cvs