Commit 25bbc0d4 authored by Dries's avatar Dries

- Fixed parentheses.

parent e86b041f
......@@ -477,7 +477,7 @@ function blogapi_validate_user($username, $password) {
$user = user_authenticate($username, $password);
if ($user->uid) {
if (user_access('edit own blog'), $user) {
if (user_access('edit own blog', $user)) {
return $user;
}
else {
......
......@@ -477,7 +477,7 @@ function blogapi_validate_user($username, $password) {
$user = user_authenticate($username, $password);
if ($user->uid) {
if (user_access('edit own blog'), $user) {
if (user_access('edit own blog', $user)) {
return $user;
}
else {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment