From 0c6bf63c186f95d6bee8043f79a8b1df6639c650 Mon Sep 17 00:00:00 2001 From: Stefan Ritt Date: Fri, 27 Apr 2007 06:11:36 +0000 Subject: [PATCH] Fixed bug with sorting attributes SVN revision: 1855 --- src/elogd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/elogd.c b/src/elogd.c index 4c6ab688..92166aca 100755 --- a/src/elogd.c +++ b/src/elogd.c @@ -17949,7 +17949,7 @@ void show_elog_list(LOGBOOK * lbs, int past_n, int last_n, int page_n, BOOL defa if ((isparam("sort") && strieq(getparam("sort"), attr_list[i])) || (isparam("rsort") && strieq(getparam("rsort"), attr_list[i]))) { strlcpy(msg_list[index].string, attrib[i], 256); - if (attr_flags[i] | AF_NUMERIC) + if (attr_flags[i] & AF_NUMERIC) numeric = TRUE; }