Skip to content

Commit 24e8b54

Browse files
Merge pull request #11856 from werstreamtes/fix-DBPrimaryKeyField-scaffoldSearchField-return-value
FIX: DBPrimaryKeyField::scaffoldSearchField should return field
2 parents 304ab27 + 7376152 commit 24e8b54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ORM/FieldType/DBPrimaryKey.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public function scaffoldFormField($title = null, $params = null)
5656

5757
public function scaffoldSearchField($title = null)
5858
{
59-
parent::scaffoldFormField($title);
59+
return parent::scaffoldFormField($title);
6060
}
6161

6262
public function setValue($value, $record = null, $markChanged = true)

0 commit comments

Comments
 (0)