From 117ec8d86ad28c3850599b2ab9329094039281f0 Mon Sep 17 00:00:00 2001 From: Harvie Date: Mon, 29 Nov 2010 02:28:52 +0100 Subject: [PATCH] Added base36id to login.inc --- wwwroot/inc/eventz/login.inc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wwwroot/inc/eventz/login.inc b/wwwroot/inc/eventz/login.inc index 3849129..c8b5ef8 100644 --- a/wwwroot/inc/eventz/login.inc +++ b/wwwroot/inc/eventz/login.inc @@ -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); -- 2.30.2