From be1d9ffc2a94f6a7850bced376a1403075339ffd Mon Sep 17 00:00:00 2001 From: Garvin Hicking Date: Mon, 14 May 2018 14:46:35 +0200 Subject: [PATCH] fix bad constant names --- serendipity_event_podcast/ChangeLog | 2 ++ .../serendipity_event_podcast.php | 12 ++++++------ 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/serendipity_event_podcast/ChangeLog b/serendipity_event_podcast/ChangeLog index 974b07c2..a9926575 100644 --- a/serendipity_event_podcast/ChangeLog +++ b/serendipity_event_podcast/ChangeLog @@ -1,4 +1,6 @@ # +1.37.3: Fixed bad constand name "DDEFAULT" to "DEFAULT" + 1.37.2: ----- * Added serendipity_request_url API method diff --git a/serendipity_event_podcast/serendipity_event_podcast.php b/serendipity_event_podcast/serendipity_event_podcast.php index 6c90c484..42702c81 100644 --- a/serendipity_event_podcast/serendipity_event_podcast.php +++ b/serendipity_event_podcast/serendipity_event_podcast.php @@ -14,7 +14,7 @@ if (file_exists($probelang)) { include_once dirname(__FILE__) . '/lang_en.inc.php'; include_once dirname(__FILE__) . '/podcast_player.php'; -@define("SERENDIPITY_EVENT_PODCAST_VERSION", "1.37.2"); +@define("SERENDIPITY_EVENT_PODCAST_VERSION", "1.37.3"); class serendipity_event_podcast extends serendipity_event { /** @@ -1212,11 +1212,11 @@ class serendipity_event_podcast extends serendipity_event{ if (!isset($this->supportedFiletypes)) { $this->supportedFiletypes = array(); - $qtexts = explode(',', $this->get_config('extquicktime' ,PLUGIN_PODCAST_QTEXT_DDEFAULT)); - $wmexts = explode(',', $this->get_config('extwinmedia' ,PLUGIN_PODCAST_WMEXT_DDEFAULT)); - $flexts = explode(',', $this->get_config('extflash' ,PLUGIN_PODCAST_MFEXT_DDEFAULT)); - $mp3exts = explode(',', $this->get_config('extaudio' ,PLUGIN_PODCAST_AUEXT_DDEFAULT)); - $xspfexts = explode(',', $this->get_config('extxspf' ,PLUGIN_PODCAST_XSPFEXT_DDEFAULT)); + $qtexts = explode(',', $this->get_config('extquicktime' ,PLUGIN_PODCAST_QTEXT_DEFAULT)); + $wmexts = explode(',', $this->get_config('extwinmedia' ,PLUGIN_PODCAST_WMEXT_DEFAULT)); + $flexts = explode(',', $this->get_config('extflash' ,PLUGIN_PODCAST_MFEXT_DEFAULT)); + $mp3exts = explode(',', $this->get_config('extaudio' ,PLUGIN_PODCAST_AUEXT_DEFAULT)); + $xspfexts = explode(',', $this->get_config('extxspf' ,PLUGIN_PODCAST_XSPFEXT_DEFAULT)); $flvexts = explode(',', $this->get_config('extflow' ,PLUGIN_PODCAST_FLOWEXT_DEFAULT)); $a5exts = explode(',', $this->get_config('exthtml5_audio',PLUGIN_PODCAST_HTML5_AUDIO_DEFAULT)); $v5exts = explode(',', $this->get_config('exthtml5_video',PLUGIN_PODCAST_HTML5_VIDEO_DEFAULT));