0 Members and 1 Guest are viewing this topic.

osDateEvo v1.2 admin/viewmyblog.php fix
« on: November 19, 2017, 09:29:00 PM »
Open admin/viewmyblog.php
find this code:
Code: [Select]
if ( isset($_GET['action']) && $_GET['action'] == 'delete' && isset($_GET['delete']) && $_GET['delete'] == 'Y'  ) {

      $blog->deleteComment($_REQUEST['deleteid'], $_SESSION['AdminId']);

change with this code:
Code: [Select]
if ( isset($_GET['action']) && $_GET['action'] == 'delete' && isset($_GET['delete']) && $_GET['delete'] == 'Y'  ) {

      $blog->admindeleteComment($_REQUEST['deleteid'], $_SESSION['AdminId']);

*

Pharg

  • *****
  • 3,134
    • OsDateFourm
  • osDate Version: osDateEvo v1.3
Re: osDateEvo v1.2 admin/viewmyblog.php fix
« Reply #1 on: November 19, 2017, 10:07:07 PM »
Hi Manset,

Thanks for the bug find.
Regards,
Pharg ( Phill )

REMEMBER: ALWAYS BACKUP BEFORE YOU MAKE ANY CHANGES!!

osDateEvo v1.3 | PHP: 5.3.42 & PHP: 7.1.15 | MySQL: 5.5.35