From 8dd99dd12b99d847588292acd34d42185b9135f6 Mon Sep 17 00:00:00 2001 From: garvinhicking Date: Fri, 11 Nov 2005 13:22:44 +0000 Subject: [PATCH] fix by karotte --- .../serendipity_event_creativecommons.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/plugins/serendipity_event_creativecommons/serendipity_event_creativecommons.php b/plugins/serendipity_event_creativecommons/serendipity_event_creativecommons.php index e78d2d6..1a3ceca 100644 --- a/plugins/serendipity_event_creativecommons/serendipity_event_creativecommons.php +++ b/plugins/serendipity_event_creativecommons/serendipity_event_creativecommons.php @@ -210,13 +210,14 @@ class serendipity_event_creativecommons extends serendipity_event { $license_type[] = 'by'; } + if (!serendipity_db_bool($this->get_config('nc', true))) { + $license_type[] = 'nc'; + } + if ($this->get_config('nd') == 'no') { $license_type[] = 'nd'; } - if (!serendipity_db_bool($this->get_config('nc', true))) { - $license_type[] = 'nc'; - } if ($this->get_config('nd') == 'sa') { $license_type[] = 'sa'; -- 2.39.5