Skip to content

Commit

Permalink
Don't pass arrays to formatDataForList in Template Screens
Browse files Browse the repository at this point in the history
  • Loading branch information
jegelstaff committed Sep 23, 2024
1 parent c574ed3 commit 89d817b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/formulize/class/templateScreen.php
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ function run_template_php_code($screen, $code_filename, $entry_id, $settings) {
if(!isset($$elementHandlerType) AND file_exists(XOOPS_ROOT_PATH."/modules/formulize/class/".$elementHandlerType.".php")) {
$$elementHandlerType = xoops_getmodulehandler($elementHandlerType, 'formulize');
}
if(isset($$elementHandlerType)) {
if(!is_array($$thisHandle) AND isset($$elementHandlerType)) {
$$thisHandle = $$elementHandlerType->formatDataForList($$thisHandle, $thisHandle, $internalRecordIds[0], 0);
}
}
Expand Down

0 comments on commit 89d817b

Please sign in to comment.