Index: trunk/core/kernel/utility/http_query.php =================================================================== diff -u -r2600 -r3031 --- trunk/core/kernel/utility/http_query.php (.../http_query.php) (revision 2600) +++ trunk/core/kernel/utility/http_query.php (.../http_query.php) (revision 3031) @@ -73,7 +73,7 @@ { parent::Params(); $this->Order = $order; - $this->Admin = defined('ADMIN') && ADMIN; + $this->Admin = $this->Application->IsAdmin(); // better cache this value, not to calculate it each time in foreach $this->AddAllVars(); $this->specialsToRemove = $this->Get('remove_specials');