From bd270b02274b4e43a887e86805a44cf456f2da38 Mon Sep 17 00:00:00 2001 From: Karl 'vollmerk' Vollmer Date: Fri, 7 Mar 2008 06:51:52 +0000 Subject: fixed the acl issue... sigh --- lib/class/api.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/class/api.class.php') diff --git a/lib/class/api.class.php b/lib/class/api.class.php index bd1b7ce0..2d55aad5 100644 --- a/lib/class/api.class.php +++ b/lib/class/api.class.php @@ -65,7 +65,7 @@ class Api { // Clean incomming variables $user_id = Dba::escape($user_id); $timestamp = intval($timestamp); - $ip = ip2long($ip); + $ip = sprintf("%u",ip2long($ip)); // Log this attempt debug_event('API','Login Attempt, IP:' . long2ip($ip) . ' Time:' . $timestamp . ' User:' . $user_id . ' Auth:' . $passphrase,'1'); -- cgit