Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

bug: ToggleFlyout OptionsMenu - is shown even when edit time is off

edited June 2012 in Vanilla 2.0 - 2.8

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 ?


  • Options
    edited June 2012


          // 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

Sign In or Register to comment.