Revision: 14010
Author:
bua...@gmail.com
Date: Mon Jul 27 23:47:04 2015 UTC
Log: Fix for another PHP Notice: Undefined index.
https://code.google.com/p/audacity/source/detail?r=14010
Modified:
/website/trunk/htdocs/about/news.php
=======================================
--- /website/trunk/htdocs/about/news.php Sun Jan 24 13:33:28 2010 UTC
+++ /website/trunk/htdocs/about/news.php Mon Jul 27 23:47:04 2015 UTC
@@ -8,7 +8,7 @@
require_once "../include/news.inc.php";
$pageId = "news";
- $itemId = $_REQUEST["id"];
+ $itemId = array_key_exists('id',$_REQUEST) ? $_REQUEST["id"] : "";
if ($itemId != "") {
$news_item = $news_items[$itemId];