Code moved because it depends on tables created by ext-user
[mailer.git] / inc / modules / admin / what-list_network_params.php
index 488f774618eb4443aac58966d1877325b2ba1d41..65a55abe35eb088493d28ca503bc1360a87a02cd 100644 (file)
@@ -112,10 +112,7 @@ ORDER BY
                        } // END - if
 
                        // Is default value empty or null?
-                       if ((is_null($row['request_param_default'])) || (trim($row['request_param_default']) == '')) {
-                               // Fix it to three dashes
-                               $row['request_param_default'] = '---';
-                       } // END - if
+                       $row['request_param_default'] = fixNullEmptyToDashes($row['request_param_default'], 3);
 
                        // Add row template and switch color
                        $OUT .= loadTemplate('admin_list_network_params_row', true, $row);