Skip to content
This repository has been archived by the owner on Jan 9, 2020. It is now read-only.

Commit

Permalink
fixed #7
Browse files Browse the repository at this point in the history
  • Loading branch information
devkont committed Mar 24, 2015
1 parent 8d2067a commit 4f0b761
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion marketorders/inc/marketorders.purchases.php
Expand Up @@ -16,7 +16,7 @@
$status = cot_import('status', 'G', 'ALP');

list($usr['auth_read'], $usr['auth_write'], $usr['isadmin']) = cot_auth('plug', 'marketorders');
cot_block($usr['auth_read']);
cot_block($usr['id'] > 0 && $usr['auth_read']);

if($cfg['plugin']['marketorders']['ordersperpage'] > 0)
{
Expand Down
2 changes: 1 addition & 1 deletion marketorders/inc/marketorders.sales.php
Expand Up @@ -15,7 +15,7 @@
$status = cot_import('status', 'G', 'ALP');

list($usr['auth_read'], $usr['auth_write'], $usr['isadmin']) = cot_auth('plug', 'marketorders');
cot_block($usr['auth_read']);
cot_block($usr['id'] > 0 && $usr['auth_read']);

if($cfg['plugin']['marketorders']['ordersperpage'] > 0)
{
Expand Down

0 comments on commit 4f0b761

Please sign in to comment.