View Single Post
  #4  
Old 8th July 2015, 05:04
HDVinnie's Avatar
HDVinnie HDVinnie is offline
BluCrew
 
Join Date: Dec 2014
P2P
Posts: 140
Default
fixed the rank selector devs make a rookie mistake and used the wrong quotes around a variable


return get_result("SELECT * FROM `{$TABLE_PREFIX}users_level` WHERE id_level <= '.$prot.' ORDER BY ".$order." ASC", true, $CACHE_DURATION);

instead of

return get_result("SELECT * FROM `{$TABLE_PREFIX}users_level` WHERE id_level <= ".$prot." ORDER BY ".$order." ASC", true, $CACHE_DURATION);

see the prot variable
Reply With Quote