|
There are 3 where clauses in the $q_switch function which holds the 3 query cases. The where clause on every last case needs to be what I posted or alternatively modify the where clause and after the AND p.approved = 1 you would add AND c.password = ''
|