summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5c14e48)
raw | patch | inline | side by side (parent: 5c14e48)
author | rettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 3 Jun 2008 12:17:02 +0000 (12:17 +0000) | ||
committer | rettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 3 Jun 2008 12:17:02 +0000 (12:17 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11172 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-si/server/events/clMessages.pm | patch | blob | history |
index fc2ab4aabb5b843df8ca249bf557bf194b102805..02104d105fd61f2eb585763c5d533149d6de007c 100644 (file)
# test whether content is an empty hash or a string which is required
my $content = @{$msg_hash->{$header}}[0];
- if(ref($content) eq "HASH") { $content = ""; }
+ if(not ref($content) eq "STRING") { $content = ""; }
my $sql_statement = "UPDATE $main::job_queue_tn ".
"SET status='processing', result='$header "."$content' ".