error checking in subscriptions
darcs-hash:20080908201020-84dde-233d38e3cb65f1778a34456193cd3f013e8d94a8.gz
This commit is contained in:
parent
4af3393452
commit
1374e0763e
@ -92,8 +92,14 @@ class GalleryAction extends Action {
|
||||
break;
|
||||
}
|
||||
|
||||
$other = Profile::staticGet($this->get_other($subs));
|
||||
$other_id = $this->get_other($subs);
|
||||
$other = Profile::staticGet($other_id);
|
||||
|
||||
if (!$other) {
|
||||
common_log(LOG_WARNING, 'No matching profile for ' . $other_id);
|
||||
continue;
|
||||
}
|
||||
|
||||
common_element_start('li');
|
||||
|
||||
common_element_start('a', array('title' => ($other->fullname) ?
|
||||
|
Loading…
Reference in New Issue
Block a user