GIT.Harvie.CZ
/
mirrors
/
Kyberia-bloodline.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Migration to PDO database abstraction layer
[mirrors/Kyberia-bloodline.git]
/
wwwroot
/
smarty
/
libs
/
internals
/
core.process_cached_inserts.php
diff --git
a/wwwroot/smarty/libs/internals/core.process_cached_inserts.php
b/wwwroot/smarty/libs/internals/core.process_cached_inserts.php
index 29cb007eb1d3eb945d960776d18aa475de4afa55..1d78edd937a587cf793a4d74a2bd65560b440563 100644
(file)
--- a/
wwwroot/smarty/libs/internals/core.process_cached_inserts.php
+++ b/
wwwroot/smarty/libs/internals/core.process_cached_inserts.php
@@
-52,7
+52,7
@@
function smarty_core_process_cached_inserts($params, &$smarty)
$replace = '';
}
$replace = '';
}
- $params['results'] = s
tr_replace($cached_inserts[$i], $replace, $params['results']
);
+ $params['results'] = s
ubstr_replace($params['results'], $replace, strpos($params['results'], $cached_inserts[$i]), strlen($cached_inserts[$i])
);
if ($smarty->debugging) {
$_params = array();
require_once(SMARTY_CORE_DIR . 'core.get_microtime.php');
if ($smarty->debugging) {
$_params = array();
require_once(SMARTY_CORE_DIR . 'core.get_microtime.php');
This page took
0.093606 seconds
and
4
git commands to generate.