1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-08 07:47:00 +02:00

Small update in InputfieldPageAutocomplete

This commit is contained in:
Ryan Cramer
2023-07-26 13:57:27 -04:00
parent 5e9a62e405
commit 3dc00d6c15

View File

@@ -298,7 +298,7 @@ class InputfieldPageAutocomplete extends Inputfield implements InputfieldHasArra
} }
if(count($this->template_ids)) { if(count($this->template_ids)) {
$selector .= ',templates_id=' . implode($pipe, $this->template_ids); $selector .= ',templates_id=' . implode('|', $this->template_ids);
} else if($this->template_id) { } else if($this->template_id) {
$selector .= ',templates_id=' . (int) $this->template_id; $selector .= ',templates_id=' . (int) $this->template_id;
} }