Refactor contact management functions and remove phpinfo.php
- Updated formatting and structure of functions in edit_contact.inc.php for better readability and consistency. - Added comments to clarify the purpose of certain code sections, especially regarding mandant handling. - Removed the deprecated phpinfo.php file to clean up the codebase.
This commit is contained in:
@@ -10,7 +10,7 @@ function get_certificate_contact_banner(){
|
||||
$query = "SELECT * FROM main_contact LEFT JOIN main_contact_profile_content ON main_contact.id = main_contact_profile_content.main_contact_id WHERE main_contact_id = ".$GLOBALS['main_contact']['id'];
|
||||
$result = @mysqli_query($GLOBALS['mysql_con'], $query);
|
||||
$main_contact = @mysqli_fetch_array($result);
|
||||
$contact_image = "platzhalter-mann-compressor.jpg";
|
||||
$contact_image = "platzhalter.png";
|
||||
if(isset($main_contact['image']) && $main_contact['image'] != ""){
|
||||
$contact_image = $main_contact['image'];
|
||||
}?>
|
||||
|
||||
Reference in New Issue
Block a user