* fix typo

This commit is contained in:
slawkens
2019-04-19 22:06:48 +02:00
parent 50ec827369
commit 6f24509dd6
4 changed files with 5 additions and 7 deletions

View File

@@ -57,7 +57,7 @@ CREATE TABLE `myaac_commands`
`hidden` TINYINT(1) NOT NULL DEFAULT 0, `hidden` TINYINT(1) NOT NULL DEFAULT 0,
PRIMARY KEY (`id`), PRIMARY KEY (`id`),
UNIQUE (`words`) UNIQUE (`words`)
) ENGINE=InnoDB DEFAULT CHARACTER SET=utf8;; ) ENGINE=InnoDB DEFAULT CHARACTER SET=utf8;
CREATE TABLE `myaac_config` CREATE TABLE `myaac_config`
( (
@@ -139,7 +139,7 @@ CREATE TABLE `myaac_items`
`plural` VARCHAR(50) NOT NULL DEFAULT '', `plural` VARCHAR(50) NOT NULL DEFAULT '',
`attributes` VARCHAR(500) NOT NULL DEFAULT '', `attributes` VARCHAR(500) NOT NULL DEFAULT '',
PRIMARY KEY (`id`) PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARACTER SET=utf8;E ) ENGINE=InnoDB DEFAULT CHARACTER SET=utf8;
CREATE TABLE `myaac_menu` CREATE TABLE `myaac_menu`
( (

View File

@@ -47,7 +47,6 @@ else {
if($account_db->isLoaded()) { if($account_db->isLoaded()) {
$account_db->setPassword(encrypt($password)); $account_db->setPassword(encrypt($password));
$account_db->setEMail($_SESSION['var_mail_admin']); $account_db->setEMail($_SESSION['var_mail_admin']);
$account_db->setCountry("--");
$account_db->save(); $account_db->save();
$account_used = &$account_db; $account_used = &$account_db;
@@ -63,7 +62,6 @@ else {
$new_account->setPassword(encrypt($password)); $new_account->setPassword(encrypt($password));
$new_account->setEMail($_SESSION['var_mail_admin']); $new_account->setEMail($_SESSION['var_mail_admin']);
$new_account->setCountry("--");
$new_account->unblock(); $new_account->unblock();
$new_account->save(); $new_account->save();

View File

@@ -39,7 +39,7 @@ class OTS_Account extends OTS_Row_DAO implements IteratorAggregate, Countable
* @var array * @var array
* @version 0.1.5 * @version 0.1.5
*/ */
private $data = array('email' => '', 'blocked' => false, 'rlname' => '','location' => '','web_flags' => 0, 'lastday' => 0, 'premdays' => 0, 'created' => 0); private $data = array('email' => '', 'blocked' => false, 'rlname' => '','location' => '', 'country' => '','web_flags' => 0, 'lastday' => 0, 'premdays' => 0, 'created' => 0);
public static $cache = array(); public static $cache = array();
/** /**
@@ -398,7 +398,7 @@ class OTS_Account extends OTS_Row_DAO implements IteratorAggregate, Countable
return $this->data['created']; return $this->data['created'];
} }
/** /**
* Name. * Name.
* *

View File

@@ -69,4 +69,4 @@
] ]
}); });
} }
</script> </script>