includes/sessions.php
changeset 131 f59a8881f7e9
parent 127 a2b20a832447
child 133 af0f6ec48de3
--- a/includes/sessions.php	Wed Sep 12 00:18:32 2007 -0400
+++ b/includes/sessions.php	Thu Sep 13 08:28:11 2007 -0400
@@ -1493,7 +1493,7 @@
   function send_activation_mail($u, $actkey = false)
   {
     global $db, $session, $paths, $template, $plugins; // Common objects
-    $q = $this->sql('SELECT username,email FROM '.table_prefix.'users WHERE user_id=1 OR user_level=' . USER_LEVEL_ADMIN . ' ORDER BY user_id ASC;');
+    $q = $this->sql('SELECT username,email FROM '.table_prefix.'users WHERE user_id=2 OR user_level=' . USER_LEVEL_ADMIN . ' ORDER BY user_id ASC;');
     $un = $db->fetchrow();
     $admin_user = $un['username'];
     $q = $this->sql('SELECT username,activation_key,account_active,email FROM '.table_prefix.'users WHERE username=\''.$db->escape($u).'\';');