Skip to content

Commit 35a4f04

Browse files
authored
Fix DefaultStoredFunctions::retrieve() (#326)
1 parent b41580c commit 35a4f04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SegmentAssignment/StoredFunctions/DefaultStoredFunctions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,6 @@ public function retrieve(string $elementId, string $elementType): array
2929
{
3030
$storedFunction = static::STORED_FUNCTIONS_MAPPING[$elementType];
3131

32-
return explode(',', Db::get()->fetchFirstColumn("SELECT $storedFunction(:elementId)", ['elementId' => $elementId | 0]));
32+
return explode(',', Db::get()->fetchOne("SELECT $storedFunction(:elementId)", ['elementId' => $elementId | 0]));
3333
}
3434
}

0 commit comments

Comments
 (0)