From 1e034b68e622733abf7d359b954213ccc16542bc Mon Sep 17 00:00:00 2001 From: Wojtek Date: Thu, 15 Oct 2026 16:43:21 +0200 Subject: [PATCH] Avoid duplicating question in answer preview --- README.md | 2 +- .../components/com_testquestions/sql/updates/mysql/1.9.3.sql | 1 + administrator/components/com_testquestions/tmpl/set/edit.php | 1 - com_testquestions.xml | 2 +- 4 files changed, 3 insertions(+), 3 deletions(-) create mode 100644 administrator/components/com_testquestions/sql/updates/mysql/1.9.3.sql diff --git a/README.md b/README.md index 5373cc5..5427209 100644 --- a/README.md +++ b/README.md @@ -23,6 +23,6 @@ Szkielet komponentu Joomla 6 do gromadzenia pytań testowych. ## Instalacja -W Joomla wybierz **System → Install → Install from Folder** i wskaż ten katalog. Manifestem instalacyjnym jest `com_testquestions.xml` (wersja 1.9.2). +W Joomla wybierz **System → Install → Install from Folder** i wskaż ten katalog. Manifestem instalacyjnym jest `com_testquestions.xml` (wersja 1.9.3). Po instalacji komponent jest dostępny w panelu administratora jako **Pytania testowe**. diff --git a/administrator/components/com_testquestions/sql/updates/mysql/1.9.3.sql b/administrator/components/com_testquestions/sql/updates/mysql/1.9.3.sql new file mode 100644 index 0000000..b4d092e --- /dev/null +++ b/administrator/components/com_testquestions/sql/updates/mysql/1.9.3.sql @@ -0,0 +1 @@ +-- No database changes required for version 1.9.3. diff --git a/administrator/components/com_testquestions/tmpl/set/edit.php b/administrator/components/com_testquestions/tmpl/set/edit.php index 3bd7666..3888362 100644 --- a/administrator/components/com_testquestions/tmpl/set/edit.php +++ b/administrator/components/com_testquestions/tmpl/set/edit.php @@ -34,7 +34,6 @@ HTMLHelper::_('behavior.formvalidator');
-
question; ?>
question_type === 'open') : ?>
: escape($question->answer_open); ?>
diff --git a/com_testquestions.xml b/com_testquestions.xml index 2d749d5..2883fb5 100644 --- a/com_testquestions.xml +++ b/com_testquestions.xml @@ -4,7 +4,7 @@ 2026-10-14 Komponent GNU General Public License version 2 or later - 1.9.2 + 1.9.3 COM_TESTQUESTIONS_DESCRIPTION com_testquestions Komponent\Component\Testquestions