Procházet zdrojové kódy

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

Sevajol Bastien před 14 roky
rodič
revize
1c255e0fc4
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      src/Muzich/CoreBundle/Factory/Elements/Youtube.php

+ 1 - 1
src/Muzich/CoreBundle/Factory/Elements/Youtube.php Zobrazit soubor

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
     }