[Tickets #6164] Re: Unable to edit client name

bugs at horde.org bugs at horde.org
Tue Jan 29 14:41:45 UTC 2008


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

Ticket URL: http://bugs.horde.org/ticket/?id=6164
-----------------------------------------------------------------------
 Ticket             | 6164
 Updated By         | paul.g.roy at uottawa.ca
 Summary            | Unable to edit client name
 Queue              | Midas
 Version            | HEAD
 Type               | Bug
 State              | Feedback
 Priority           | 2. Medium
 Milestone          | 
 Patch              | 
 Owners             | 
-----------------------------------------------------------------------


paul.g.roy at uottawa.ca (2008-01-29 09:41) wrote:

Unfortuantely, the commit didn't fix it.

I got around the problem with these changes:

- Added line 32:
$client_id = $vars->get('client_id');
-> $formname = $vars->get('formname');  <-

- Wrapped the redefinition of $vars in an if statement:
if ($client_id) {
-> if (empty($formname)) { <-
$vars = new Variables($clients->getUnit($client_id));
-> } <-

Works OK now.

Paul





More information about the bugs mailing list