chore: fix get single value call

Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
diff --git a/erpnext/portal/doctype/products_settings/products_settings.py b/erpnext/portal/doctype/products_settings/products_settings.py
index 92c4f1c..cb07462 100644
--- a/erpnext/portal/doctype/products_settings/products_settings.py
+++ b/erpnext/portal/doctype/products_settings/products_settings.py
@@ -12,7 +12,7 @@
 	def validate(self):
 		if self.home_page_is_products:
 			frappe.db.set_value("Website Settings", "home_page", "products")
-		elif frappe.get_single_value("Website Settings", "home_page") == 'products':
+		elif frappe.db.get_single_value("Website Settings", "home_page") == 'products':
 			frappe.db.set_value("Website Settings", "home_page", "home")
 
 		self.validate_field_filters()