summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/QuickSearch/i_ok.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/QuickSearch/i_ok.inc b/plugins/QuickSearch/i_ok.inc
index 81f132e0ac..e55ac3d945 100644
--- a/plugins/QuickSearch/i_ok.inc
+++ b/plugins/QuickSearch/i_ok.inc
@@ -419,7 +419,8 @@ begin
end;
QSTO_EVENTCOUNT: begin
- res.text:=int2strw(db_event_count(hContact));
+ res.data:=db_event_count(hContact);
+ res.text:=int2strw(res.data);
end;
end;