plusieurs auteurs pour les sources
[mw_sourceml] / app / out / default / views / sources / morceau / view.php
index 99020a1..4010f48 100644 (file)
@@ -1,6 +1,6 @@
 <h2>
 <?php $ariane_params = array("morceau" => $this->out["morceau"]["id"]); ?>
-<?php if($this->out["album"]) : $ariane_params["album"] = $this->out["album"]["id"]; ?>
+<?php if(isset($this->out["album"]) && $this->out["album"]) : $ariane_params["album"] = $this->out["album"]["id"]; ?>
 <a href="<?php echo $this->url("sources/album/view", $ariane_params) ?>">
 <?php echo $this->out["album"]["titre"] ?>
 </a>