From 0fad06383cf587f1348b3c12dbfc9b3bc36e0169 Mon Sep 17 00:00:00 2001 From: devkont Date: Tue, 5 May 2015 07:05:05 +0300 Subject: [PATCH] fixed #8 --- marketorders/marketorders.ajax.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/marketorders/marketorders.ajax.php b/marketorders/marketorders.ajax.php index f845ce2..ce54faf 100644 --- a/marketorders/marketorders.ajax.php +++ b/marketorders/marketorders.ajax.php @@ -11,7 +11,7 @@ require_once cot_incfile('marketorders', 'plug'); list($usr['auth_read'], $usr['auth_write'], $usr['isadmin']) = cot_auth('plug', 'marketorders', 'RWA'); -cot_block($usr['auth_write']); +cot_block($usr['auth_read']); $m = cot_import('m','G','ALP'); $id = cot_import('id','G','INT');