[Tickets #6165] Re: Unable to delete a client

bugs at horde.org bugs at horde.org
Tue Jan 29 14:52:25 UTC 2008


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

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


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

No luck here either.

I made a few changes to delete.php to get around it.

- Added line 32:
31: $form_submit = $vars->get('submitbutton');
32: $formname = $vars->get('formname');

- Wrapped redefinition of $vars in an if statement at line 44:

44: if (empty($formname)) {
45: $vars = new Variables($client);
46: }


And made one change to midas/lib/Clients.php at line 42:

40: }
41: 
42: return $this->_deleteClient($client_id);
43: }

Probably not the recommended solution but it works.

Thanks

Paul



More information about the bugs mailing list