瀏覽代碼

Anomalie #451: vidéo Youtube.com buggé

Sevajol Bastien 12 年之前
父節點
當前提交
1c255e0fc4
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/Muzich/CoreBundle/Factory/Elements/Youtube.php

+ 1 - 1
src/Muzich/CoreBundle/Factory/Elements/Youtube.php 查看文件

18
     $url_clean = $this->getCleanedUrl();
18
     $url_clean = $this->getCleanedUrl();
19
     $ref_id = null;
19
     $ref_id = null;
20
     
20
     
21
-    if (preg_match("#\/([a-zA-Z0-9]+)#", $url_clean, $chaines))
21
+    if (preg_match("#\/([a-zA-Z0-9_]+)#", $url_clean, $chaines))
22
     {
22
     {
23
       $ref_id = $chaines[1];
23
       $ref_id = $chaines[1];
24
     }
24
     }