Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Thursday, October 15, 2026

Diff for phpMyEdit/phpMyEdit.class.php between version 1.162 and 1.163

version 1.162, 2005/01/09 01:26:21 version 1.163, 2005/01/09 01:33:35
Line 19 
Line 19 
  * http://platon.sk/projects/phpMyEdit/   * http://platon.sk/projects/phpMyEdit/
  */   */
   
 /* $Platon: phpMyEdit/phpMyEdit.class.php,v 1.161 2005/01/09 01:22:12 nepto Exp $ */  /* $Platon: phpMyEdit/phpMyEdit.class.php,v 1.162 2005/01/09 01:26:21 nepto Exp $ */
   
 /*  This is a generic table editing program. The table and fields to be  /*  This is a generic table editing program. The table and fields to be
         edited are defined in the calling program.          edited are defined in the calling program.
Line 1183  function '.$this->js['prefix'].'filter_h
Line 1183  function '.$this->js['prefix'].'filter_h
         function substituteVars($str, $subst_ar) /* {{{ */          function substituteVars($str, $subst_ar) /* {{{ */
         {          {
                 $array = preg_split('/(\\$\w+)/', $str, -1, PREG_SPLIT_DELIM_CAPTURE);                  $array = preg_split('/(\\$\w+)/', $str, -1, PREG_SPLIT_DELIM_CAPTURE);
                 for ($i = 1; $i < count($array); $i += 2) {                  $count = count($array);
                   for ($i = 1; $i < $count; $i += 2) {
                         $key = substr($array[$i], 1);                          $key = substr($array[$i], 1);
                         if (isset($subst_ar[$key])) {                          if (isset($subst_ar[$key])) {
                                 $array[$i] = $subst_ar[$key];                                  $array[$i] = $subst_ar[$key];

Legend:
Removed from v.1.162  
changed lines
  Added in v.1.163

Platon Group <platon@platon.org> http://platon.org/
Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top