use $CONF[page_size] in viewlog.php
This replaces the hardcoded "LIMIT 10" with "LIMIT <page_size>". Patch by Dan <dannyro @SF>, https://sourceforge.net/p/postfixadmin/patches/133/ Additional change on top of Dan's patch: - wrap $CONF['page_size'] in intval() to avoid that a broken config setting can break or exploit the querypull/31/head
parent
29364b4734
commit
67a6d0e27a
Loading…
Reference in New Issue