bug: ToggleFlyout OptionsMenu - is shown even when edit time is off
It is on vanilla site too. You can see it on Your any old topic .
Option menu with the only point - Edit - and an error of Permission Problem when you try to push it.
How can I correct this ?
0

Answers
solved
// Edit discussion +++ $from_time=strftime(Gdn_Format::ToTimestamp($Discussion->DateInserted)); +++ $nowtime = strftime(time()); +++ $diff=$nowtime - $from_time; if (($Discussion->FirstUserID == $Session->UserID && $diff<C('Garden.EditContentTimeout')) ||this also is concerned to the delete link of FileUpload plugin