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.148 and 1.149

version 1.148, 2004/11/02 19:36:43 version 1.149, 2004/11/02 20:08:11
Line 19 
Line 19 
  * http://platon.sk/projects/phpMyEdit/   * http://platon.sk/projects/phpMyEdit/
  */   */
   
 /* $Platon: phpMyEdit/phpMyEdit.class.php,v 1.147 2004/07/15 13:41:14 nepto Exp $ */  /* $Platon: phpMyEdit/phpMyEdit.class.php,v 1.148 2004/11/02 19:36:43 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 1433  function phpMyEdit_filter_handler(theFor
Line 1433  function phpMyEdit_filter_handler(theFor
   
         function get_sfn_cgi_vars($alternative_sfn = null) /* {{{ */          function get_sfn_cgi_vars($alternative_sfn = null) /* {{{ */
         {          {
                 if ($alternative_sfn == null) { // FAST! (cached return value)                  if ($alternative_sfn === null) { // FAST! (cached return value)
                         static $ret = null;                          static $ret = null;
                         $ret == null && $ret = $this->get_sfn_cgi_vars($this->sfn);                          $ret == null && $ret = $this->get_sfn_cgi_vars($this->sfn);
                         return $ret;                          return $ret;
Line 2674  function phpMyEdit_filter_handler(theFor
Line 2674  function phpMyEdit_filter_handler(theFor
                    Note that entries like [0]=>'9' [1]=>'-9' are correct and they will                     Note that entries like [0]=>'9' [1]=>'-9' are correct and they will
                    have desirable sorting behaviour. So there is no need to remove them.                     have desirable sorting behaviour. So there is no need to remove them.
                  */                   */
                 for ($k = 0; ! $this->displayed[$k]; $k++);  
                 $this->sfn[] = "$k"; // important quotes  
                 $this->sfn = array_unique($this->sfn);                  $this->sfn = array_unique($this->sfn);
                 $check_ar = array();                  $check_ar = array();
                 foreach ($this->sfn as $key => $val) {                  foreach ($this->sfn as $key => $val) {

Legend:
Removed from v.1.148  
changed lines
  Added in v.1.149

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