From a00d6fe163f60d470635efc87531daec74aecab3 Mon Sep 17 00:00:00 2001 From: garvinhicking Date: Tue, 25 Oct 2005 10:03:27 +0000 Subject: [PATCH] =?utf8?q?Update=20creativecommens=20license=20to=202.5,?= =?utf8?q?=20thanks=20to=20Christian=20Dr=C3=B6ge!?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../serendipity_event_creativecommons.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/serendipity_event_creativecommons/serendipity_event_creativecommons.php b/plugins/serendipity_event_creativecommons/serendipity_event_creativecommons.php index 7d88331..9988cfd 100644 --- a/plugins/serendipity_event_creativecommons/serendipity_event_creativecommons.php +++ b/plugins/serendipity_event_creativecommons/serendipity_event_creativecommons.php @@ -201,12 +201,12 @@ class serendipity_event_creativecommons extends serendipity_event { $license_type = array(); $license_version = $this->get_config('cc_version', '1.0'); - if ( ($license_version < 2.0) && ($this->get_config('cc_v2', 'false') == 'true') ) { - $this->set_config('cc_version', '2.0'); - $license_version = '2.0'; + if ( ($license_version < 2.5) && ($this->get_config('cc_v2', 'false') == 'true') ) { + $this->set_config('cc_version', '2.5'); + $license_version = '2.5'; } - if (($license_version >= 2.0) || serendipity_db_bool($this->get_config('by', true))) { + if (($license_version >= 2.5) || serendipity_db_bool($this->get_config('by', true))) { $license_type[] = 'by'; } -- 2.39.5