Просмотр исходного кода

Fix undefined variables warning

Alan Lam 7 лет назад
Родитель
Сommit
5dd6bff49a
1 измененных файлов с 2 добавлено и 4 удалено
  1. 2 4
      engine/test.php

+ 2 - 4
engine/test.php

@@ -170,10 +170,8 @@ class Test extends Model {
 			'<b>', '</b>',
 			'<b>', '</b>'
 		));
-		$builder->addParagraph(sprintf(__("If you have any questions please send them to %s or call %s on %s."),
-			"<a href=\"mailto:tests@check-policy.com\">tests@check-policy.com</a>",
-			"<b>$admin_first_name</b>",
-			"<b>$admin_phone</b>"
+		$builder->addParagraph(sprintf(__("If you have any questions please send them to %s."),
+			"<a href=\"mailto:tests@check-policy.com\">tests@check-policy.com</a>"
 		));
 		$builder->addParagraph(__("If you are unable to submit the results via the web-based app please contact us and we can send you an offline form to complete."));
 		$content = $builder->build();