Skip to content
Snippets Groups Projects
Commit 47219676 authored by Falko Timme's avatar Falko Timme
Browse files

- fixed wrong function definition for the encode() function in remote.lib.php.

parent c582da17
No related branches found
No related tags found
No related merge requests found
......@@ -186,12 +186,11 @@ class remoting_lib extends tform_base {
/**
* 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!
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment