Skip to content

Commit 3c20684

Browse files
committed
Fix profile access
1 parent 373c4a1 commit 3c20684

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/Profile.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,11 +160,11 @@ public function showForm($profiles_id = 0, $openform = true, $closeform = true)
160160
if (($canedit = Session::haveRightsOr(self::$rightname, [CREATE, UPDATE, PURGE]))
161161
&& $openform
162162
) {
163-
$profile = new Profile();
163+
$profile = new \Profile();
164164
echo "<form method='post' action='" . $profile->getFormURL() . "'>";
165165
}
166166

167-
$profile = new Profile();
167+
$profile = new \Profile();
168168
$profile->getFromDB($profiles_id);
169169
if ($profile->getField('interface') == 'central') {
170170
$rights = $this->getAllRights();

0 commit comments

Comments
 (0)