Live changes

This commit is contained in:
Mausern Testbruker committed 2011-08-19 15:24:08 +02:00
1 parent f39f8b88ce
commit 2c64cd1d27
7 files changed
+63 -22

No files matched your search

+1 -1
View File
@@ -61,7 +61,7 @@ class User {
$this->id = -1;
return false;
}
if(preg_match('/^[a-z]*$/', strtolower(stripcslashes($data['username'])))) {
if(! preg_match('/^[a-z]*$/', strtolower(stripcslashes($data['username'])))) {
notify("Brukernavnet kan kun inneholde små bokstaver.");
$this->id = -1;
return false;