Commit d90f3b91 authored by Leigh Stoller's avatar Leigh Stoller

Bug fix.

parent e927e873
......@@ -213,7 +213,8 @@ function SPITFORM($formfields, $newuser, $errors)
$amlist = array();
$showabout = ($ISCLOUD || !$this_user ? 1 : 0);
$registered = (isset($this_user) ? "true" : "false");
$webonly = ($registered && $this_user->webonly() ? "true" : "false");
$webonly = (isset($this_user) &&
$this_user->webonly() ? "true" : "false");
$nopprspec = (!isset($this_user) || $this_user->IsNonLocal() ?
"true" : "false");
$portal = "";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment