Fix for admin-edit link in header
authorRoland Häder <roland@mxchange.org>
Tue, 16 Sep 2008 21:02:02 +0000 (21:02 +0000)
committerRoland Häder <roland@mxchange.org>
Tue, 16 Sep 2008 21:02:02 +0000 (21:02 +0000)
inc/databases.php
inc/modules/admin/what-admins_edit.php

index f60e32fa9ce4726ddba63dafd26028d2b8ce1754..fe5a76bd22b8d85e7b00803f25de79bd9a066957 100644 (file)
@@ -113,7 +113,7 @@ define('USAGE_BASE', "usage");
 define('SERVER_URL', "http://www.mxchange.org");
 
 // This current patch level
 define('SERVER_URL', "http://www.mxchange.org");
 
 // This current patch level
-define('CURR_SVN_REVISION', "345");
+define('CURR_SVN_REVISION', "346");
 
 // Take a prime number which is long (if you know a longer one please try it out!)
 define('_PRIME', 591623);
 
 // Take a prime number which is long (if you know a longer one please try it out!)
 define('_PRIME', 591623);
index 2a7c9728ae5720931c0504257eaaa53493c20fd0..e4aaee886fb1e0c1709d4daa152aa50ae7ae65da 100644 (file)
@@ -51,8 +51,9 @@ if (!empty($_GET['admin'])) {
        // Secure ID number
        $aid = bigintval($_GET['admin']);
        $_POST['edit'] = "1";
        // Secure ID number
        $aid = bigintval($_GET['admin']);
        $_POST['edit'] = "1";
-       $_POST['sel'][$aid] = array("1");
+       $_POST['sel'][$aid] = "1";
 }
 }
+
 if ((isset($_POST['edit'])) && (SELECTION_COUNT($_POST['sel']) > 0)) {
        // Edit account(s)
        ADMINS_EDIT_ADMIN_ACCOUNTS($_POST);
 if ((isset($_POST['edit'])) && (SELECTION_COUNT($_POST['sel']) > 0)) {
        // Edit account(s)
        ADMINS_EDIT_ADMIN_ACCOUNTS($_POST);