fixed wrong id2name in xmlrpc2cats

This commit is contained in:
Ralf Becker 2004-03-13 18:09:06 +00:00
parent c97908716f
commit 6c5c54d4b6

View File

@ -81,7 +81,7 @@
$cats = array();
foreach($xcats as $cat => $name)
{
if ($id = $GLOBALS['phpgw']->categories->id2name($name))
if ($id = $GLOBALS['phpgw']->categories->name2id($name))
{
// existing cat-name use the id
$cat = $id;