Added base36id to login.inc
authorHarvie <tomas@mudrunka.cz>
Mon, 29 Nov 2010 01:28:52 +0000 (02:28 +0100)
committerHarvie <tomas@mudrunka.cz>
Mon, 29 Nov 2010 01:28:52 +0000 (02:28 +0100)
wwwroot/inc/eventz/login.inc

index 3849129186b43d2b6983a0aeb2d32d4471de8d6f..c8b5ef8c658873272fec7cd8790d2eb65f655fba 100644 (file)
@@ -21,6 +21,8 @@ function login() {
             $user_id = $set->getString('user_id');
             $user_name = $set->getString('login');
         break;
+        case "base36id":
+                                       $login = base_convert($login, 36, 10);
         case "id":
             // HA! if it is number, escape_string is not enough
            $login=intval($login);
This page took 0.112677 seconds and 4 git commands to generate.