Login Retreive lost passwordRegister
Search

Forum Index / NL Forum / Klein bugje line 2985 class.FormHandler.php

[ This topic is solved ]

  winus 19 May 09 / 16:42  
Er wordt getest op
<?php
if(method_exists($fld[1], 'getValue') && $name != $this->_name.'_submit')
{
                        
$data[$name] = $fld[1]->getValue();
                    }
?>

Resulteerde hier in een error icm custom errorhandler.

Maar een addLine wordt als string erin gestopt niet als object.
fix:

<?php
if(is_object($fld[1]) && method_exists($fld[1], 'getValue') && $name != $this->_name.'_submit')
{
                        
$data[$name] = $fld[1]->getValue();
                    }
?>

  Johan Wiegel (Admin) 16 June 09 / 19:08  
deze fix zit in de bug fix welke vandaag is uitgegeven

  Top


powered by PHP-GLOBE   © 2004 - 2012 FormHandler. All rights reserved.   -   Open source license