|
@@ -4591,7 +4591,7 @@ function api_get_access_url($id)
|
|
|
{
|
|
|
$id = intval($id);
|
|
|
$table_access_url = Database::get_main_table(TABLE_MAIN_ACCESS_URL);
|
|
|
- $sql = "SELECT url, description, active, created_by, tms FROM $table_access_url WHERE id = '$id' ";
|
|
|
+ $sql = "SELECT id, url, description, active, created_by, tms FROM $table_access_url WHERE id = '$id' ";
|
|
|
$res = Database::query($sql);
|
|
|
$result = Database::fetch_array($res);
|
|
|
return $result;
|