]> git.mjollnir.org Git - s9y.git/commitdiff
fix by karotte
authorgarvinhicking <garvinhicking>
Fri, 11 Nov 2005 13:22:44 +0000 (13:22 +0000)
committergarvinhicking <garvinhicking>
Fri, 11 Nov 2005 13:22:44 +0000 (13:22 +0000)
plugins/serendipity_event_creativecommons/serendipity_event_creativecommons.php

index e78d2d60f007e592ef958c04ee41b0b7632348a9..1a3ceca65b2cfc72ba43692d29662c140dca6ce3 100644 (file)
@@ -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';