[Tickets #2210] function spelled wrong in Projects.php

bugs@bugs.horde.org bugs at bugs.horde.org
Fri Jul 1 08:47:41 PDT 2005


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=2210
-----------------------------------------------------------------------
 Ticket             | 2210
 Updated By         | atlas at literateminds.com
 Summary            | function spelled wrong in Projects.php
 Queue              | Thor
 State              | Unconfirmed
 Priority           | 3. High
 Type               | Bug
 Owners             | 
-----------------------------------------------------------------------


atlas at literateminds.com (2005-07-01 08:47) wrote:

Decided not to open another ticket being that you have to have the history
from this one to get to the place where you have this bug.

So after the spelling is corrected from above and you click on adduser you
get this errror message:

Fatal error: Call to undefined function: adduser() in
/var/www/horde/thor/lib/Project.php on line 572

the code is this:

 */
     function addUserRequest($userID)
     {
        $groups = &Group::singleton();

        if (!$groups->userIsInGroup($userID,
$groups->getGroupId($this->_top_group_name), true)) {
            $the_group =
&$groups->getGroup($this->_default_groups[USERS_WANTING]);
     problem line -->       $the_group->addUser($userID);  <---- Problem
line
            return true;
        }
        return false;
     }


Im not familiar enough with your API to know where to find that method or
what the original intent was. 

Cheers =)

also where can I find API documentation?




More information about the bugs mailing list