diff options
Diffstat (limited to 'mod/reportedcontent')
-rw-r--r-- | mod/reportedcontent/actions/add.php | 2 | ||||
-rw-r--r-- | mod/reportedcontent/views/default/reportedcontent/form.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/mod/reportedcontent/actions/add.php b/mod/reportedcontent/actions/add.php index ebe1d7e3b..3f818ca3c 100644 --- a/mod/reportedcontent/actions/add.php +++ b/mod/reportedcontent/actions/add.php @@ -13,7 +13,7 @@ $title = get_input('title');
$description = get_input('description');
$address = get_input('address');
- $access = 0; //this is private and only admins can see it
+ $access = ACCESS_PRIVATE; //this is private and only admins can see it
if ($title && $address) {
diff --git a/mod/reportedcontent/views/default/reportedcontent/form.php b/mod/reportedcontent/views/default/reportedcontent/form.php index ded9960c8..ed4833f6e 100644 --- a/mod/reportedcontent/views/default/reportedcontent/form.php +++ b/mod/reportedcontent/views/default/reportedcontent/form.php @@ -17,7 +17,7 @@ if ($address == "previous")
$address = $_SERVER['HTTP_REFERER'];
$tags = array();
- $access_id = 0;
+ $access_id = ACCESS_PRIVATE;
$shares = array();
$owner = $vars['user'];
|