Skip to content

Commit

Permalink
Fixed typo in accountSummary function name
Browse files Browse the repository at this point in the history
  • Loading branch information
rnavarro committed Sep 16, 2009
1 parent 2513ed7 commit fb67291
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion cpanel_api.php
Expand Up @@ -156,6 +156,11 @@ function xmlapi_query($function, $calls = array()) {
return FALSE;
}

if(stristr($result, '404 Not Found') == TRUE) {
$this->error = 'cPanel API 404 Error';
return FALSE;
}

$this->error = 'Generic Error';
return FALSE;
}
Expand Down Expand Up @@ -310,7 +315,7 @@ function editquota($username, $quota) {

// This API function will generate a list of an account's attributes, such as it's IP address and partition.
// $username = string
function accoutsummary($username) {
function accountsummary($username) {
if (!isset($username)) {
error_log("accountsummary requires that an username is passed to it");
return FALSE;
Expand Down

0 comments on commit fb67291

Please sign in to comment.