|
From: <var...@us...> - 2021-01-03 09:46:31
|
Revision: 10220
http://sourceforge.net/p/phpwiki/code/10220
Author: vargenau
Date: 2021-01-03 09:46:24 +0000 (Sun, 03 Jan 2021)
Log Message:
-----------
Revert r10209 for lib/WikiDB/backend.php (userless test $limit > 2147483647)
Modified Paths:
--------------
trunk/lib/WikiDB/backend.php
Modified: trunk/lib/WikiDB/backend.php
===================================================================
--- trunk/lib/WikiDB/backend.php 2021-01-02 20:28:05 UTC (rev 10219)
+++ trunk/lib/WikiDB/backend.php 2021-01-03 09:46:24 UTC (rev 10220)
@@ -566,7 +566,7 @@
}
return array($from, $limit);
} else {
- if (!empty($limit) && (!is_numeric($limit) || $limit > 2147483647)) {
+ if (!empty($limit) && !is_numeric($limit)) {
trigger_error(_("Illegal “limit” argument: must be an integer or two integers separated by comma"));
return array(0, 0);
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|