if (!defined('LACONICA')) { exit(1); }
-require_once(INSTALLDIR.'lib/stream.php');
+require_once(INSTALLDIR.'/lib/stream.php');
class ShownoticeAction extends StreamAction {
$this->no_such_notice();
}
- if (!$notice->getProfile()) {
+ $profile = $notice->getProfile();
+
+ if (!$profile) {
$this->no_such_notice();
}