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:
@@ -298,7 +298,7 @@ class InputfieldPageAutocomplete extends Inputfield implements InputfieldHasArra
|
||||
}
|
||||
|
||||
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) {
|
||||
$selector .= ',templates_id=' . (int) $this->template_id;
|
||||
}
|
||||
|
Reference in New Issue
Block a user