! -> Note
$ -> Affected files
+01-Mar-2010 Joe Hung
+! Allow change of password without script in Create/Update Company.
+$ /admin/create_coy.php
+
28-Feb-2010 Joe Hunt
# Fixed a non esisting voiding of Work Order Advanced and a couple of
bugs in the same operation. And a fix according to Vramak on the forum.
remove_connection($id);
return false;
}
+ } else {
+ if ($_GET['c'] = 'u') {
+ $conn = $db_connections[$id];
+ if (($db = db_create_db($conn)) == 0)
+ {
+ display_error(_("Error connecting to Database: ") . $conn['dbname'] . _(", Please correct it"));
+ $error = true;
+ } else {
+ db_query("UPDATE ".$conn['tbpref']."users set password = '".md5($_POST['admpassword']). "' WHERE user_id = 'admin'");
+ }
+ }
}
$error = write_config_db($new);
if ($error == -1)