From: janw Date: Thu, 18 Sep 2008 12:45:48 +0000 (+0000) Subject: Fixed statement. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=fd2013fca2ba5ec27e1d72a3ead9f7d3208bfe14;p=gosa.git Fixed statement. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12517 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-si/server/events/clMessages.pm b/gosa-si/server/events/clMessages.pm index 56925c9de..44f1903c4 100644 --- a/gosa-si/server/events/clMessages.pm +++ b/gosa-si/server/events/clMessages.pm @@ -212,7 +212,7 @@ sub CURRENTLY_LOGGED_IN { my $act_time = &get_time(); my $expiry_date = &calc_timestamp($act_time, "minus", $main::logged_in_user_date_of_expiry); - $sql_statement = "SELECT * FROM $main::login_users_tn WHERE CAST(timestamp as INTEGER)<$expiry_date"; + $sql_statement = "SELECT * FROM $main::login_users_tn WHERE CAST(timestamp as UNSIGNED)<$expiry_date"; $db_res = $main::login_users_db->select_dbentry($sql_statement); while( my($hit_id, $hit) = each(%{$db_res}) ) {