[horde] Multiple forwards

Litten, Rob RLitten at OneCommunications.com
Tue May 25 15:51:23 UTC 2010


For our forwards, we store each one entry for every forward per user so
from the horde GUI  you enter in:

Test1 at test.com, Test2 at test.com

 

These get saved in our db as follows:

User      Domain                Forward

Test       test.com              Test1 at test.com

Test       test.com              Test2 at test.com

 

So the problem is when  a user looks at their forwards it only shows
Test1 at test.com because of this code in the customsql.php

 

$row = $result->fetchRow(DB_FETCHMODE_ASSOC);

        if (is_array($row)) {

            return $row;

        }

 

Its only returning one row, how can I concatenate this so both forwards
show up in the GUI?

 

-rob



More information about the horde mailing list