summaryrefslogtreecommitdiff
path: root/cgi-bin
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2021-01-31 17:39:29 +0000
committerVincent Sanders <vince@kyllikki.org>2021-01-31 17:39:29 +0000
commitaffedad2a5fe033099e9cf76b9a2188a1e9c9225 (patch)
tree99a5cf7d95f00c1ff580dffa87645dd3aa6a1808 /cgi-bin
parent7b2cf96741b2ae2f9426f26ee9d05ed60da57911 (diff)
downloadnetsurf-test-affedad2a5fe033099e9cf76b9a2188a1e9c9225.tar.gz
netsurf-test-affedad2a5fe033099e9cf76b9a2188a1e9c9225.tar.bz2
fix integer cast in ordered list cgi
Diffstat (limited to 'cgi-bin')
-rwxr-xr-xcgi-bin/ordered-list.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/cgi-bin/ordered-list.cgi b/cgi-bin/ordered-list.cgi
index 2096d0e..6548699 100755
--- a/cgi-bin/ordered-list.cgi
+++ b/cgi-bin/ordered-list.cgi
@@ -30,7 +30,7 @@ def main():
liststyle = params['liststyle'].value
if 'listcount' in params and re.match('^[0-9]+$', params['listcount'].value):
- listcount = num(params['listcount'].value)
+ listcount = int(params['listcount'].value)
if listcount > 10000:
listcount = 10000