Skip to content

Commit

Permalink
Correct autoready condition for options that don't exist.
Browse files Browse the repository at this point in the history
  • Loading branch information
kohler committed Sep 2, 2023
1 parent b2625c9 commit 15aef9e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/papertable.php
Original file line number Diff line number Diff line change
Expand Up @@ -749,6 +749,7 @@ private function need_autoready() {
if (!$this->allow_edit_final) {
foreach ($this->prow->form_fields() as $o) {
if ($o->required
&& $o->test_exists($this->prow)
&& !$o->has_complex_exists_condition() /* XXX */
&& $o->editable_condition() === null
&& ($x = $o->present_script_expression()))
Expand Down

0 comments on commit 15aef9e

Please sign in to comment.