From 637ca35ec9d9ae467c2f18a6965d9a81bdbe36ba Mon Sep 17 00:00:00 2001 From: Tom Fuller Date: Tue, 24 Sep 2024 17:41:53 -0700 Subject: [PATCH] Adjusted the menu fix to one line --- proclaim.script.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/proclaim.script.php b/proclaim.script.php index 5afbf57af..5c248c811 100755 --- a/proclaim.script.php +++ b/proclaim.script.php @@ -308,8 +308,7 @@ private function removeBibleStudyVersion(): void $query = $this->dbo->getQuery(true); // Fields to update. $fields = array( - $this->dbo->quoteName('link') . ' = ' . $this->dbo->quote(str_replace("com_biblestudy", "com_proclaim", $result->link)), - $this->dbo->quoteName('link') . ' = ' . $this->dbo->quote(str_replace("view=", "view=cwm", $result->link)), + $this->dbo->quoteName('link') . ' = ' . $this->dbo->quote(str_replace("com_biblestudy&view=", "com_proclaim&view=cwm", $result->link)), $this->dbo->quoteName('component_id') . ' = ' . $proclaimID, ); // Conditions for which records should be updated.