X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=plugins%2FIrc%2Fextlib%2Fphergie%2FPhergie%2FPlugin%2FYoutube.php;h=b19e9d5aefb3d46c52852dc187925d6dec4121b2;hb=678911af249ddc5d2db8d182ce3fd0c748c05fd7;hp=e06ea5640bf9b4bcf819ae638b482d181ab7e136;hpb=c71319419bd00ee563fd87a6fe2f202293441d82;p=quix0rs-gnu-social.git diff --git a/plugins/Irc/extlib/phergie/Phergie/Plugin/Youtube.php b/plugins/Irc/extlib/phergie/Phergie/Plugin/Youtube.php index e06ea5640b..b19e9d5aef 100644 --- a/plugins/Irc/extlib/phergie/Phergie/Plugin/Youtube.php +++ b/plugins/Irc/extlib/phergie/Phergie/Plugin/Youtube.php @@ -148,7 +148,7 @@ class Phergie_Plugin_Youtube extends Phergie_Plugin_Abstract { switch ($parsed['host']) { case 'youtu.be': - $v = ltrim($parsed['path'], '/'); + $v = ltrim('/', $parsed['path']); break; case 'youtube.com': case 'www.youtube.com':