Skip to content
This repository has been archived by the owner on Jan 21, 2022. It is now read-only.

Update form-display.vm #5

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

matt-shirey
Copy link

Checked to see if the config file is even needed. If not, then don't try to load it.

Checked to see if the config file is even needed.  If not, then don't try to load it.
define("AUTH_FILE_PATH", "${formConfigContent.getChild('authFilePath').text}");
error_reporting(E_ALL);
<?php
#if( $wayToSave.text == "save-to-excel" || $wayToSave.text == "save-to-cms")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This actually won't work because $wayToSave is a loop variable from lines 11-19 above when setting some flags.

Instead the following will work:

#if( $excelSave == "true" || $cmsSave == "true")

@rgriffith
Copy link
Member

@TWG-Matt Thank you for this submission. I had a review item that will need to be addressed before it can be merged.

@bradical bradical marked this pull request as draft May 19, 2020 14:48
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants