Skip to content

Commit

Permalink
Text too
Browse files Browse the repository at this point in the history
  • Loading branch information
kohler committed Mar 29, 2024
1 parent a5d2d3b commit bdf6037
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/formula.php
Original file line number Diff line number Diff line change
Expand Up @@ -2795,7 +2795,7 @@ function unparse_text($x, $real_format) {
} else if ($this->_format === Fexpr::FSUBFIELD) {
$prow = $this->placeholder_prow();
$fr = new FieldRender(FieldRender::CFTEXT | FieldRender::CFCSV | FieldRender::CFVERBOSE);
$this->_format_detail->render($fr, new PaperValue($prow, $x));
$this->_format_detail->render($fr, PaperValue::make($prow, $this->_format_detail, $x));
return $fr->value; // XXX
} else if ($this->_format === Fexpr::FPREFEXPERTISE) {
return ReviewField::make_expertise($this->conf)->unparse_computed($x + 2, $real_format);
Expand Down

0 comments on commit bdf6037

Please sign in to comment.