summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5b42f77)
raw | patch | inline | side by side (parent: 5b42f77)
author | janw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 18 Sep 2008 12:45:48 +0000 (12:45 +0000) | ||
committer | janw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 18 Sep 2008 12:45:48 +0000 (12:45 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12517 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-si/server/events/clMessages.pm | patch | blob | history |
index 56925c9def398075a40f610a02fe791213e7e8fe..44f1903c46aa2042ddfb44196aa85df58f73d3ad 100644 (file)
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}) ) {