1

Topic: Unable to check group title collision

In admin_groups.php

$result = $db->query('SELECT 1 FROM '.$db->prefix.'groups WHERE g_title=\''.$db->escape($title).'\' && g_id!='.$_POST['group_id']) or error('Unable to check group title collision', __FILE__, __LINE__, $db->error());

I suggest replacing && with AND since && does not seem to work in postgres

2

Re: Unable to check group title collision

fixed already

Re: Unable to check group title collision

It hasn't been fixed actually. I fixed another thing related to the dupe check. The && still needs to be replaced.

Thanks for the report Ulph.

"Programming is like sex: one mistake and you have to support it for the rest of your life."

Re: Unable to check group title collision

http://dev.punbb.org/changeset/159

"Programming is like sex: one mistake and you have to support it for the rest of your life."