Falko Timme
2015-02-25 47219676f239ec488bccf6b5803f61c202183f1c
- fixed wrong function definition for the encode() function in remote.lib.php.
1 files modified
3 ■■■■ changed files
interface/lib/classes/remoting_lib.inc.php 3 ●●●● patch | view | raw | blame | history
interface/lib/classes/remoting_lib.inc.php
@@ -186,12 +186,11 @@
     /**
     * Rewrite the record data to be stored in the database
     * and check values with regular expressions.
     * dummy parameter is only there for compatibility with params of base class
     *
     * @param record = Datensatz als Array
     * @return record
     */
    function encode($record, $dbencode = true, $dummy = '') {
    function encode($record, $tab = '', $dbencode = true) {
        $new_record = $this->_encode($record, '', $dbencode, true);
        if(isset($record['_ispconfig_pw_crypted'])) $new_record['_ispconfig_pw_crypted'] = $record['_ispconfig_pw_crypted']; // this one is not in form definitions!