Skip to content

Commit cab7ea5

Browse files
author
mcramer
committed
- Fixed missing global $app in new _decode function
1 parent df3292b commit cab7ea5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

interface/lib/classes/tform_base.inc.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,7 @@ function loadFormDef($file,$module = '') {
166166
* @return record
167167
*/
168168
protected function _decode($record, $tab = '', $api = false) {
169+
global $app;
169170
$new_record = '';
170171
if($api == false) {
171172
$table_idx = $this->formDef['db_table_idx'];

0 commit comments

Comments
 (0)