[whups] Patch for comment group permissions

Mike Baptiste mike@msbnetworks.net
Fri Nov 8 21:36:56 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I figured out the problem with comment permissions.  If you used 'Add
Comment' the permissions never were saved.  If you used Assign Ticket,
they would be.

Turns out addComment is returning true instead of the comment_id which
is passed to the permissions system.

Easy fix:

Index: sql.php
===================================================================
RCS file: /repository/whups/lib/Driver/sql.php,v
retrieving revision 1.63
diff -r1.63 sql.php
222c222
<         return true;
- ---
|         return $comment_id;


Mike
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE9zC53tbf8BjvL+3ERAs65AJ99Nr0aas4g7rONAclK8kJzdplBYgCgjJ9B
DG9sjfDGecXNQe1QVsy3zws=
=6va+
-----END PGP SIGNATURE-----



More information about the whups mailing list