Notice : Validation issue on line 197 and 205 #1

Closed
opened 2017-04-26 10:07:30 -05:00 by SeeTwoDev · 1 comment
SeeTwoDev commented 2017-04-26 10:07:30 -05:00 (Migrated from github.com)

change
if ($field['cast'] && in_array($field['cast'], $castFunctions)) {

to
if (array_key_exists('cast',$field) && $field['cast'] && in_array($field['cast'], $castFunctions)) {

change if ($field['cast'] && in_array($field['cast'], $castFunctions)) { to if (array_key_exists('cast',$field) && $field['cast'] && in_array($field['cast'], $castFunctions)) {
Traumflug commented 2018-06-14 13:57:51 -05:00 (Migrated from github.com)

Looking at the code, this was fixed with release 1.0.1 already, just in a slightly different way.

Anyways, thanks for the report! If the problem persists, please don't hesitate to open another issue.

Looking at the code, this was fixed with release 1.0.1 already, just in a slightly different way. Anyways, thanks for the report! If the problem persists, please don't hesitate to open another issue.
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
gh-thirtybees/ctconfiguration#1
No description provided.