Skip to content
This repository has been archived by the owner on Sep 18, 2019. It is now read-only.

Commit

Permalink
Merge pull request #41 from moltin/anthonysterling-patch-1
Browse files Browse the repository at this point in the history
No Exception on Unknown Field Type
  • Loading branch information
anthonysterling committed Jan 12, 2016
2 parents 77aa471 + 7c5ec3a commit aa84b74
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Flows.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,9 @@ public function build()
{
// Loop fields
foreach ($this->fields as &$field) {

if (!$this->_isValidType($field['type'])) {
throw new InvalidFieldType('Field type '.$field['type'].' was not found');
continue;
}

// Setup args
Expand Down

0 comments on commit aa84b74

Please sign in to comment.