From: garvinhicking Date: Fri, 11 Nov 2005 13:23:00 +0000 (+0000) Subject: patch by karotte X-Git-Tag: 1.0~305 X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=3d349786b3803f7e0b03a95828b89971070efe97;p=s9y.git patch by karotte --- 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';