Index: trunk/phase3/includes/SkinTemplate.php |
— | — | @@ -1307,7 +1307,9 @@ |
1308 | 1308 | $personal_tools[$key] = array(); |
1309 | 1309 | $personal_tools[$key]["links"][] = array(); |
1310 | 1310 | $personal_tools[$key]["links"][0]["single-id"] = $personal_tools[$key]["id"] = "pt-$key"; |
1311 | | - $personal_tools[$key]["active"] = $ptool["active"]; |
| 1311 | + if ( isset($ptool["active"]) ) { |
| 1312 | + $personal_tools[$key]["active"] = $ptool["active"]; |
| 1313 | + } |
1312 | 1314 | foreach ( array("href", "class", "text") as $k ) { |
1313 | 1315 | if ( isset($ptool[$k]) ) |
1314 | 1316 | $personal_tools[$key]["links"][0][$k] = $ptool[$k]; |