aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
Diffstat (limited to 'mod')
-rw-r--r--mod/network.php2
-rw-r--r--mod/update_network.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/mod/network.php b/mod/network.php
index 696d00dcc..79a2f2b38 100644
--- a/mod/network.php
+++ b/mod/network.php
@@ -39,6 +39,7 @@ function network_content(&$a, $update = 0) {
$group = 0;
$nouveau = false;
+ require_once('include/acl_selectors.php');
if(($a->argc > 2) && $a->argv[2] === 'new')
$nouveau = true;
@@ -67,7 +68,6 @@ function network_content(&$a, $update = 0) {
'$nickname' => $a->user['nickname']
));
- require_once('include/acl_selectors.php');
$tpl = load_view_file("view/jot.tpl");
diff --git a/mod/update_network.php b/mod/update_network.php
index 35e968dba..cf9f11f58 100644
--- a/mod/update_network.php
+++ b/mod/update_network.php
@@ -3,7 +3,7 @@
// See update_profile.php for documentation
require_once('mod/network.php');
-
+require_once('include/group.php');
function update_network_content(&$a) {