fix for elkarte/Elkarte#121

Signed-off-by:Thorsten Eurich <thorsten@eurich.de>