Rewrote some code, added templates/functions:
[mailer.git] / inc / libs / network_functions.php
index a13a12487753d245d9dd61a5e5157bec0c8ea9ca..aa1667045a23d72904d2b6315eada49954b812ad 100644 (file)
@@ -713,7 +713,7 @@ ORDER BY
                }
        } else {
                // Nothing selected
-               $content = displayErrorMessage('{--ADMIN_ENTRIES_404--}');
+               $content = returnErrorMessage('{--ADMIN_ENTRIES_404--}');
        }
 
        // Free the result
@@ -759,7 +759,7 @@ ORDER BY
                $content = generateSelectionBoxFromArray($rows, 'network_type', 'network_type_id');
        } else {
                // Nothing selected
-               $content = displayErrorMessage('{--ADMIN_ENTRIES_404--}');
+               $content = returnErrorMessage('{--ADMIN_ENTRIES_404--}');
        }
 
        // Free the result
@@ -806,7 +806,7 @@ ORDER BY
                $content = generateSelectionBoxFromArray($rows, 'network_type', 'network_type_id', '', '_title');
        } else {
                // Nothing selected
-               $content = displayErrorMessage('{--ADMIN_ENTRIES_404--}');
+               $content = returnErrorMessage('{--ADMIN_ENTRIES_404--}');
        }
 
        // Free the result