[www-doc] [Git][VideoLAN.org/websites][master] close tag in both cases

Christoph Miebach gitlab at videolan.org
Mon Jan 16 18:01:44 CET 2017


Christoph Miebach pushed to branch master at VideoLAN organization / websites


Commits:
1892993f by Christoph Miebach at 2017-01-16T12:01:23-05:00
close tag in both cases

- - - - -


1 changed file:

- www.videolan.org/include/news.php


Changes:

=====================================
www.videolan.org/include/news.php
=====================================
--- a/www.videolan.org/include/news.php
+++ b/www.videolan.org/include/news.php
@@ -33,7 +33,10 @@
     $msg = "";
 
     if(!$file)
-      return(0);
+    {
+        echo "</div><!-- news are en only -->";
+        return(0);
+    }
 
     while( !feof($file) )
     {
@@ -86,10 +89,10 @@
         }
     }
     fclose($file);
+    echo "</div><!-- news are en only -->";
 }
 
 function shownews_mockup($style,$max) {
     shownews($style,$max,true);
-    echo "</div><!-- news are en only -->";
 }
 ?>



View it on GitLab: https://code.videolan.org/VideoLAN.org/websites/commit/1892993f9024fa26d9575870b4125090938d74d7
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/www-doc/attachments/20170116/de46f9da/attachment.html>


More information about the www-doc mailing list