~ubuntu-branches/ubuntu/dapper/smarty/dapper-updates

« back to all changes in this revision

Viewing changes to libs/internals/core.process_cached_inserts.php

  • Committer: Bazaar Package Importer
  • Author(s): Igor Genibel
  • Date: 2006-01-12 11:21:13 UTC
  • mfrom: (0.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20060112112113-jnj3qjevq3otksra
Tags: 2.6.11-1
* New upstream release
* Added myself to Uploaders
* Ack previous NMU (Closes: #332098)

Show diffs side-by-side

added added

removed removed

Lines of Context:
52
52
            $replace = '';
53
53
        }
54
54
 
55
 
        $params['results'] = str_replace($cached_inserts[$i], $replace, $params['results']);
 
55
        $params['results'] = substr_replace($params['results'], $replace, strpos($params['results'], $cached_inserts[$i]), strlen($cached_inserts[$i]));
56
56
        if ($smarty->debugging) {
57
57
            $_params = array();
58
58
            require_once(SMARTY_CORE_DIR . 'core.get_microtime.php');