Fix cut and paste error.

This commit is contained in:
Andrew McMillan 2009-12-26 11:23:30 +13:00
parent ebbec96269
commit 9eb76822ce

View File

@ -1107,7 +1107,7 @@ EOSQL;
*/
function NeedPrivilege( $privilege, $href=null ) {
if ( !isset($href) ) {
if ( $request->AllowedTo($privilege) ) return;
if ( $this->AllowedTo($privilege) ) return;
}
$reply = new XMLDocument();