Changeset 36 for trunk/includes
- Timestamp:
- 09/26/05 00:51:38 (7 years ago)
- Files:
-
- 1 modified
-
trunk/includes/functions.inc.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/includes/functions.inc.php
r35 r36 39 39 if(ereg("\.php$", $token[0])) 40 40 $token[0] = substr($token[0], 0, -4); 41 return $token;41 return array_map('urldecode', $token); 42 42 } 43 43 … … 480 480 { 481 481 list($login, $type) = split('@', $string); 482 if(ereg("^[ a-zA-Z0-9\._-]{2,32}$", $login) && is_valid('metalbum_type', $type))482 if(ereg("^[ a-zA-Z0-9\._-]{2,32}$", $login) && is_valid('metalbum_type', $type)) 483 483 return true; 484 484 }
