Skip to content

Commit

Permalink
fix(lang): reset lang before construct searchoption
Browse files Browse the repository at this point in the history
  • Loading branch information
stonebuzz authored Oct 10, 2023
1 parent 1658dd1 commit 5430079
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions inc/object.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -861,6 +861,8 @@ function rawSearchOptions() {
// Prevent usage of reserved and blacklisted indexes
$taken_indexes = array_merge($index_exceptions, $blacklisted_indexes);

plugin_genericobject_includeCommonFields(true);

foreach (PluginGenericobjectSingletonObjectField::getInstance(get_called_class())
as $field => $values
) {
Expand Down

0 comments on commit 5430079

Please sign in to comment.