*/
function jerrAuth()
{
- $au = $this->authUser();
+ $au = $this->authUser;
if ($au) {
// is it an authfailure?
$this->jerr("Permission denied to view this resource", array('authFailure' => true));
if ($retHTML) {
header('Content-type: text/html');
- echo "<HTML><HEAD></HEAD><BODY><";
+ echo "<HTML><HEAD></HEAD><BODY>";
// encode html characters so they can be read..
echo str_replace(array('<','>'), array('\u003c','\u003e'),
$this->jsencode(array('success'=> true, 'data' => $str), false));