Fix parse errors (extra ')'s)

This commit is contained in:
Zone 2002-09-24 05:19:18 +00:00
parent 96111faf8f
commit 453c62f1b2

View File

@ -291,11 +291,11 @@
$parts = explode('.',$dom); $parts = explode('.',$dom);
if (count($parts) > 2) if (count($parts) > 2)
{ {
$this->cookie_domain) = '.'.$parts[count($parts)-2].'.'.$parts[count($parts)-1]; $this->cookie_domain = '.'.$parts[count($parts)-2].'.'.$parts[count($parts)-1];
} }
else else
{ {
$this->cookie_domain) = ''; $this->cookie_domain = '';
} }
} }
@ -305,7 +305,7 @@
{ {
$this->phpgw_set_cookiedomain(); $this->phpgw_set_cookiedomain();
} }
setcookie($cookiename,$cookievalue,$cookietime,'/',$this->cookie_domain)); setcookie($cookiename,$cookievalue,$cookietime,'/',$this->cookie_domain);
} }
function create($login,$passwd = '',$passwd_type = '') function create($login,$passwd = '',$passwd_type = '')