Skip to content

Commit

Permalink
Fix for the fix
Browse files Browse the repository at this point in the history
  • Loading branch information
instantflorian committed Apr 27, 2023
1 parent e79f989 commit df7a606
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions wbce/modules/miniform/ajax_delete_message.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@

// test admin access for this
require_once(WB_PATH.'/framework/class.admin.php');
$admin = new admin('Modules', 'module_view', FALSE, FALSE);

$admin = new admin('Modules', 'modules_view', false, true);
// check for the iRecordID parameter. Preventing warnings in the errorlogs
if(!isset($_POST['iRecordID'])) die(json_encode($aJsonRespond));

Expand Down
3 changes: 2 additions & 1 deletion wbce/modules/miniform/info.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
* @version 0.23.1
* @lastmodified April 26, 2023
*
* v0.23.2 - Fix for the fix (Ruud)
* v0.23.1 - Fix issue with AJAX message delete (reported by young pope) (Ruud)
* v0.23 - fix for missing captcha in linked forms (Ruud)
* v0.22 - MYSQL_ASSOC -> MYSQLI_ASSOC (Bernd)
Expand All @@ -34,7 +35,7 @@
$module_directory = 'miniform';
$module_name = 'MiniForm WBCE CMS Edition';
$module_function = 'page';
$module_version = '0.23.1';
$module_version = '0.23.2';
$module_platform = '1.4.x';
$module_author = 'Ruud / Dev4me';
$module_license = 'GNU General Public License';
Expand Down

0 comments on commit df7a606

Please sign in to comment.