muting some errors
This commit is contained in:
parent
13dcdfc942
commit
b66e99ddc5
@ -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'])){
|
||||
|
||||
|
@ -17,8 +17,10 @@
|
||||
function index_permatitle($val, $sep) {
|
||||
global $fpdb;
|
||||
$q =& $fpdb->getQuery();
|
||||
list($id, $e) = $q->peekEntry();
|
||||
return "$val {$sep} {$e['subject']}";
|
||||
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 */
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user