Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
ryancramerdesign committed Nov 14, 2024
1 parent d84d40e commit 1191c16
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions wire/modules/Fieldtype/FieldtypePageTable.module
Original file line number Diff line number Diff line change
Expand Up @@ -451,6 +451,8 @@ class FieldtypePageTable extends FieldtypeMulti implements Module, FieldtypeDoes
*
*/
public function ___wakeupValue(Page $page, Field $field, $value) {

if($value && !is_array($value)) $value = array($value);

if(!is_array($value) || !wireCount($value) || empty($field->template_id)) {
return $this->getBlankValue($page, $field);
Expand Down

0 comments on commit 1191c16

Please sign in to comment.