Skip to content

Commit

Permalink
chore: recursive condition adjusted
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielfs7 committed Sep 26, 2024
1 parent d837ef4 commit 9984d50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/kernel/persistence/smoothsql/class.Class.php
Original file line number Diff line number Diff line change
Expand Up @@ -643,7 +643,7 @@ public function updateUri(core_kernel_classes_Class $resource, string $newUri):

public function getInstanceIds(string $classUri, bool $recursive = false): array
{
if ($recursive) {
if (!$recursive) {
$query = 'SELECT subject FROM statements WHERE predicate = ? AND object = ?';
$params = [
OntologyRdf::RDF_TYPE,
Expand Down

0 comments on commit 9984d50

Please sign in to comment.