Commit 5d82cd2e authored by Leigh B Stoller's avatar Leigh B Stoller

Minor bug fix.

parent 4eac8a88
......@@ -126,9 +126,8 @@ $cansnap = ((isset($this_user) &&
$this_user->idx() == $profile->creator_idx()) ||
ISADMIN() ? 1 : 0);
$canclone = (($profile->published() && isset($this_user) &&
(($this_user->idx() == $creator->idx() &&
$this_user->idx() == $profile->creator_idx()) ||
ISADMIN())) ? 1 : 0);
$this_user->idx() == $creator->idx()) ||
ISADMIN() ? 1 : 0);
$snapping = 0;
$oneonly = (isset($oneonly) && $oneonly ? 1 : 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