Skip to content

Commit 72b7cd5

Browse files
committed
updates fixing 3 php notices in the directadmin code
1 parent 298b338 commit 72b7cd5

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/directadmin.inc.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ function directadmin_makepayment($lid)
366366
CURLOPT_REFERER => $referrer
367367
];
368368
$response = directadmin_req($url, $post, $options);
369-
myadmin_log('licenses', 'info', $response, __LINE__, __FILE__, $module);
369+
myadmin_log('licenses', 'info', $response, __LINE__, __FILE__, 'licenses');
370370
return $response;
371371
}
372372

@@ -379,7 +379,7 @@ function directadmin_get_os_list($active = '') {
379379
'api' => 1,
380380
];
381381
$response = directadmin_req($url, $post);
382-
myadmin_log('licenses', 'info', $response, __LINE__, __FILE__, $module);
382+
myadmin_log('licenses', 'info', $response, __LINE__, __FILE__, 'licenses');
383383
return $response;
384384
}
385385

@@ -392,6 +392,6 @@ function directadmin_get_products() {
392392
'api' => 1,
393393
];
394394
$response = directadmin_req($url, $post);
395-
myadmin_log('licenses', 'info', $response, __LINE__, __FILE__, $module);
395+
myadmin_log('licenses', 'info', $response, __LINE__, __FILE__, 'licenses');
396396
return $response;
397-
}
397+
}

0 commit comments

Comments
 (0)