R26273 - /trunk/phpgwapi/inc/class.egw_link.inc.php

Author: ralfbecker
New Revision: 26273

URL: http://www.egroupware.org/viewvc?rev=3D26273&view=3Drev
Log:
"fixed problem with title cache causing:

  • infolog to display wrong contacts in the list
  • double reads of contacts"

Modified:
trunk/phpgwapi/inc/class.egw_link.inc.php

Modified: trunk/phpgwapi/inc/class.egw_link.inc.php
URL: http://www.egroupware.org/viewvc/trunk/phpgwapi/inc/class.egw_link.inc=
.php?rev=3D26273&r1=3D26272&r2=3D26273&view=3Ddiff
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
— trunk/phpgwapi/inc/class.egw_link.inc.php (original)
+++ trunk/phpgwapi/inc/class.egw_link.inc.php Sat Oct 25 11:06:11 2008
@@ -622,9 +622,10 @@
}
if ($ids_to_query)
{

  •   	foreach(ExecMethod(self::$app_register[$app]['titles'],$ids_to_query) a=
    

s $id =3D> $title)

  •   	{
    
  •   		$titles[$id] =3D $title;
    
  •   	foreach(ExecMethod(self::$app_register[$app]['titles'],$ids_to_query) a=
    

s $id =3D> $t)

  •   	{
    
  •   		$title =3D& self::get_cache($app,$id);
    
  •   		$titles[$id] =3D $title =3D $t;
      	}
      }
      return $titles;
    

This SF.Net email is sponsored by the Moblin Your Move Developer’s challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/


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