diff options
Diffstat (limited to 'phpBB/db/odbc.php')
-rw-r--r-- | phpBB/db/odbc.php | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/phpBB/db/odbc.php b/phpBB/db/odbc.php index ee6ca446d5..4922939ee7 100644 --- a/phpBB/db/odbc.php +++ b/phpBB/db/odbc.php @@ -10,6 +10,15 @@ * ***************************************************************************/ +/*************************************************************************** + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + ***************************************************************************/ + if(!defined("SQL_LAYER")) { @@ -130,7 +139,7 @@ class sql_db if(eregi("LIMIT", $query)) { preg_match("/^(.*)LIMIT ([0-9]+)[, ]*([0-9]+)*/s", $query, $limits); - + $query = $limits[1]; if($limits[3]) { |