Skip to content

Commit 0fdbf04

Browse files
INT-19697 : Fix string interpolation deprecations for PHP 8.2
1 parent e0dbb8b commit 0fdbf04

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

classes/privacy/provider.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -529,7 +529,7 @@ protected static function export_discussion_data(int $userid, array $mappings) {
529529
LEFT JOIN {grade_items} gi ON gi.iteminstance = f.id AND gi.itemmodule = 'hsuforum'
530530
LEFT JOIN {grade_grades} gg ON gg.itemid = gi.id AND gg.userid = d.userid
531531
LEFT JOIN {hsuforum_posts} p ON p.discussion = d.id
532-
WHERE f.id ${hsuforuminsql}
532+
WHERE f.id {$hsuforuminsql}
533533
AND (
534534
d.userid = :discussionuserid OR
535535
p.userid = :postuserid OR
@@ -627,7 +627,7 @@ protected static function export_all_posts(int $userid, array $mappings) {
627627
JOIN {hsuforum_posts} p ON p.discussion = d.id
628628
LEFT JOIN {hsuforum_read} fr ON fr.postid = p.id AND fr.userid = :readuserid
629629
{$ratingsql->join}
630-
WHERE f.id ${hsuforuminsql} AND
630+
WHERE f.id {$hsuforuminsql} AND
631631
(
632632
p.userid = :postuserid OR
633633
fr.userid IS NOT NULL OR

0 commit comments

Comments
 (0)