Deleting of network type handler partialy finished
[mailer.git] / inc / libs / network_functions.php
index b19a5ed..b97060e 100644 (file)
@@ -371,6 +371,9 @@ function doAdminNetworkProcessHandlenetworktypeForm () {
                                                // Add row template for deleting
                                                $OUT .= loadTemplate('admin_edit_network_types_row', true, $networkTypeData);
                                        } elseif (isPostRequestElementSet('del')) {
+                                               // Fix empty banner URL
+                                               if (trim($networkTypeData['network_type_banner_url']) == '') $networkTypeData['network_type_banner_url'] = '---';
+
                                                // Add row template for deleting
                                                $OUT .= loadTemplate('admin_del_network_types_row', true, $networkTypeData);
                                        } else {