Skip to content

Commit 4721967

Browse files
committed
- fixed wrong function definition for the encode() function in remote.lib.php.
1 parent c582da1 commit 4721967

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

interface/lib/classes/remoting_lib.inc.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,12 +186,11 @@ function getDatasourceData($field, $record, $dummy = '') {
186186
/**
187187
* Rewrite the record data to be stored in the database
188188
* and check values with regular expressions.
189-
* dummy parameter is only there for compatibility with params of base class
190189
*
191190
* @param record = Datensatz als Array
192191
* @return record
193192
*/
194-
function encode($record, $dbencode = true, $dummy = '') {
193+
function encode($record, $tab = '', $dbencode = true) {
195194
$new_record = $this->_encode($record, '', $dbencode, true);
196195
if(isset($record['_ispconfig_pw_crypted'])) $new_record['_ispconfig_pw_crypted'] = $record['_ispconfig_pw_crypted']; // this one is not in form definitions!
197196

0 commit comments

Comments
 (0)