summaryrefslogtreecommitdiffstats
path: root/install.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2005-12-31 09:55:57 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2005-12-31 09:55:57 +0000
commit65a51e7408ee5d2a2035bd4097b8157e511f77dd (patch)
tree6a878e0362e135b0135375afe3bf98c6c5cbf297 /install.php
parentfb3f5189882db644e443ebaf4e5e1efdb84d4348 (diff)
downloadampache-65a51e7408ee5d2a2035bd4097b8157e511f77dd.tar.gz
ampache-65a51e7408ee5d2a2035bd4097b8157e511f77dd.tar.bz2
ampache-65a51e7408ee5d2a2035bd4097b8157e511f77dd.zip
fixed a few more glitches with the installer
Diffstat (limited to 'install.php')
-rw-r--r--install.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/install.php b/install.php
index 7832509d..c2b46a7d 100644
--- a/install.php
+++ b/install.php
@@ -105,7 +105,8 @@ switch ($action) {
/* Setup Preferences */
$temp_user = new User($username);
$temp_user->fix_preferences();
- $temp_user = new User(0);
+ $temp_user = new User(-1);
+ $temp_user->username = '-1';
$temp_user->fix_preferences();