Commit facf94fb authored by Leigh Stoller's avatar Leigh Stoller

Minor bug fix.

parent 95ecbdd3
......@@ -186,8 +186,8 @@ if ($profile = Profile::Lookup($instance->profile_id(),
$canupdate_profile = ((isset($this_user) &&
$this_user->idx() == $profile->creator_idx()) ||
ISADMIN() ? 1 : 0);
$isscript = ($profile->script() && $profile->script() != "" ? 1 : 0);
}
$isscript = ($profile->script() && $profile->script() != "" ? 1 : 0);
}
$registered = (isset($this_user) ? "true" : "false");
$snapping = 0;
......
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