my_logger: make the tag optional

This commit is contained in:
ljm42
2024-02-02 13:02:40 -07:00
parent 551f85ad92
commit 0287d8dfac
7 changed files with 12 additions and 12 deletions
@@ -367,7 +367,7 @@ class DockerTemplates {
@copy($iconRAM,$icon);
}
if (!is_file($iconRAM)) {
my_logger('webGUI', "$contName: Could not download icon $imgUrl");
my_logger("$contName: Could not download icon $imgUrl");
}
return (is_file($iconRAM)) ? str_replace($docroot, '', $iconRAM) : '';