muting some errors

This commit is contained in:
real_nowhereman 2008-02-20 10:52:10 +00:00
parent 13dcdfc942
commit b66e99ddc5
2 changed files with 9 additions and 4 deletions

View File

@ -27,7 +27,10 @@
$q =& $fpdb->getQuery();
list($id, $entry) = $q->peekEntry();
list($id, $entry) = @$q->peekEntry();
if (!$entry)
return $module;
if (!empty($_GET['feed'])){

View File

@ -17,8 +17,10 @@
function index_permatitle($val, $sep) {
global $fpdb;
$q =& $fpdb->getQuery();
list($id, $e) = $q->peekEntry();
list($id, $e) = @$q->peekEntry();
if ($e)
return "$val {$sep} {$e['subject']}";
else return $val;
}
function index_gentitle($val, $sep) {
@ -180,7 +182,7 @@
$fpdb->query($params);
$q =& $fpdb->getQuery();
list($id, $e) = $q->peekEntry();
list($id, $e) = @$q->peekEntry();
/* no entry found : 404 */