summaryrefslogtreecommitdiff
path: root/www/header.php
diff options
context:
space:
mode:
Diffstat (limited to 'www/header.php')
-rw-r--r--www/header.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/www/header.php b/www/header.php
index 4df6d9e..dff4355 100644
--- a/www/header.php
+++ b/www/header.php
@@ -7,7 +7,11 @@
if(isset($new_id)){
echo "<td><a href='/youtube?id=".$new_id."'>Youtube</a></td>";
} else {
- echo "<td><a href='/youtube'>Youtube</a></td>";
+ if(isset($videoID)){
+ echo "<td><a href='/youtube?id=".$videoID."'>Youtube</a></td>";
+ } else {
+ echo "<td><a href='/youtube'>Youtube</a></td>";
+ }
}
?>
<td>|</td>