$this->endHTML();
} else {
common_debug("not ajax");
- common_redirect($this->question->bestUrl(), 303);
+ common_redirect($this->question->getUrl(), 303);
}
}
*
* @return boolean is read only action?
*/
- function isReadOnly($args)
+ function isReadOnly(array $args=array())
{
if ($_SERVER['REQUEST_METHOD'] == 'GET' ||
$_SERVER['REQUEST_METHOD'] == 'HEAD') {
*/
function showContent()
{
- $this->out->elementStart('p', array('class' => 'entry-content answer-content'));
+ $this->out->elementStart('p', array('class' => 'e-content answer-content'));
if ($this->notice->rendered) {
$this->out->raw($this->notice->rendered);
} else {