Changeset 683 for trunk/inc/realm.php
- Timestamp:
- Jan 23, 2010, 5:23:04 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/inc/realm.php
r681 r683 11 11 parent::__construct($System); 12 12 $this->Id = $Id; 13 $DbResult = $this->Database->query('SELECT * FROM Realm WHERE Id='.$Id );13 $DbResult = $this->Database->query('SELECT * FROM Realm WHERE Id='.$Id.' AND Enabled=1'); 14 14 $this->Data = $DbResult->fetch_assoc(); 15 15 $this->CharactersDatabase = new Database($this->Data['DatabaseHost'], $this->Data['DatabaseUser'], $this->Data['DatabasePassword'], $this->Data['DatabaseCharacters']);
Note:
See TracChangeset
for help on using the changeset viewer.