ftimme
2011-09-23 feb022f04e51aae3c5f0ed0084e7af07bb3b29ee
interface/web/admin/users_edit.php
@@ -61,6 +61,8 @@
   function onBeforeUpdate() {
      global $app, $conf;
      
      if($conf['demo_mode'] == true && $_REQUEST['id'] <= 3) $app->error('This function is disabled in demo mode.');
      if(@is_array($this->dataRecord['modules']) && !in_array($this->dataRecord['startmodule'],$this->dataRecord['modules'])) {
         $app->tform->errorMessage .= $app->tform->wordbook['startmodule_err'];
      }