Topic: index.php - Change request
index.php (line 88)
change:
'WHERE' => 'fp.read_forum IS NULL OR fp.read_forum=1',
to:
'WHERE' => '(fp.read_forum IS NULL OR fp.read_forum=1)',
in order to add an AND condition.
You are not logged in. Please login or register.
PunBB Forums → PunBB 1.3 troubleshooting → index.php - Change request
index.php (line 88)
change:
'WHERE' => 'fp.read_forum IS NULL OR fp.read_forum=1',
to:
'WHERE' => '(fp.read_forum IS NULL OR fp.read_forum=1)',
in order to add an AND condition.
In your hook, couldn't you just do $query['WHERE'] = '('.$query['WHERE'].') AND <your stuff>';?
Nice one! Thank you.
PunBB Forums → PunBB 1.3 troubleshooting → index.php - Change request
Powered by PunBB, supported by Informer Technologies, Inc.