Permalink
Browse files

Fixed typo in accountSummary function name

  • Loading branch information...
rnavarro committed Sep 16, 2009
1 parent 2513ed7 commit fb67291faa9902ba6fb22bb4da27500a53b5bed9
Showing with 6 additions and 1 deletion.
  1. +6 −1 cpanel_api.php
@@ -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;
}
@@ -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;

0 comments on commit fb67291

Please sign in to comment.