#90 workaround

workaround for #90 
i am new to dokuwiki and php, please review it carefully.