tbrehm
2009-07-21 4369754abd4bc1d451a60dba3c496135451cf35a
interface/web/tools/user_settings.php
@@ -64,6 +64,7 @@
            
            // Importing ID
                $this->id = $_SESSION['s']['user']['userid'];
            $_POST['id'] = $_SESSION['s']['user']['userid'];
                if(count($_POST) > 1) {
                        $this->dataRecord = $_POST;
@@ -72,6 +73,10 @@
                        $this->onShow();
                }
        }
   function onInsert() {
      die('No inserts allowed.');
   }
      
   function onBeforeUpdate() {
      global $app, $conf;
@@ -79,7 +84,8 @@
      if($_POST['passwort'] != $_POST['passwort2']) {
         $app->tform->errorMessage = $app->tform->lng('password_mismatch');
      }
      $_SESSION['s']['user']['language'] = $_POST['language'];
      $_SESSION['s']['language'] = $_POST['language'];
   }
   
   
@@ -88,4 +94,4 @@
$page = new page_action;
$page->onLoad();
?>
?>