mirror of
https://github.com/e107inc/e107.git
synced 2025-08-11 17:14:42 +02:00
Regex fixes and path fix for TinyMce.
This commit is contained in:
@@ -3600,7 +3600,7 @@ class e_tree_model extends e_front_model
|
||||
protected function prepareSimulatedPagination()
|
||||
{
|
||||
$db_query = $this->getParam('db_query');
|
||||
$db_query = preg_replace_callback("/LIMIT ([\d]+)[ ]*(?:,|OFFSET){0,1}[ ]*([\d]*)/i", function($matches)
|
||||
$db_query = preg_replace_callback("/LIMIT ([\d]+)[ ]*(?:,|OFFSET)?[ ]*([\d]*)/i", function($matches)
|
||||
{
|
||||
// Count only
|
||||
if (empty($matches[2]))
|
||||
|
Reference in New Issue
Block a user