Fix PHP warning caused by typo in template

PHP Warning:  A non-numeric value encountered in .../templates_c/2k11/58/d3/09/58d3091bbe2ae7a94064de04db8831bdf8787fa0_0.file.oembed.tpl.php on line 42
This commit is contained in:
Matthias Gutjahr 2018-09-04 11:02:29 +02:00
parent fc3b817902
commit 4b08899288
No known key found for this signature in database
GPG key ID: E772FA2F656BFC41
3 changed files with 7 additions and 4 deletions

View file

@ -1,7 +1,10 @@
Version 1.15
-----------------------
* Fixed PHP warning caused by typo in template
Version 1.14
-------------
Added legal gdpr/dsgvo info
* Added legal gdpr/dsgvo info
Version 1.13
-----------------------

View file

@ -5,7 +5,7 @@
<blockquote>{$oembed.html}</blockquote>
{elseif $oembed.provider_name=="IMDB"} {* beautify noembed.com IMDB content *}
<blockquote>{$oembed.html|replace:"<h2>":"<strong>"|replace:"</h2>":"</strong>"|replace:"<img":"<img align='right'"}</blockquote>
{elseif $oembed.provider-name=="Soundcloud"} {* beautify SoundCloud *}
{elseif $oembed.provider_name=="Soundcloud"} {* beautify SoundCloud *}
{$oembed.html|replace:"</object>":"</object><br/>"}
{else}
{$oembed.html}

View file

@ -30,7 +30,7 @@ class serendipity_event_oembed extends serendipity_event
$propbag->add('description', PLUGIN_EVENT_OEMBED_DESC);
$propbag->add('stackable', false);
$propbag->add('author', 'Grischa Brockhaus');
$propbag->add('version', '1.13');
$propbag->add('version', '1.15');
$propbag->add('requirements', array(
'serendipity' => '0.8',
'smarty' => '2.6.7',