diff options
author | Dries Buytaert <dries@buytaert.net> | 2001-04-14 19:31:02 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2001-04-14 19:31:02 +0000 |
commit | f0dd6bfb754c492f4a821b0a1870d705da228344 (patch) | |
tree | f1aacd5aa4a1b1e66e58056ed7d0534e82fa59e1 | |
parent | d32216f8b6cfca4901ad31f634bb6b846c832f48 (diff) | |
download | brdo-f0dd6bfb754c492f4a821b0a1870d705da228344.tar.gz brdo-f0dd6bfb754c492f4a821b0a1870d705da228344.tar.bz2 |
- small improvement to submission form
-rw-r--r-- | submit.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/submit.php b/submit.php index 3df473832..8cc9d870e 100644 --- a/submit.php +++ b/submit.php @@ -4,7 +4,10 @@ include_once "includes/common.inc"; function submit_type($name, $module) { global $modules; - if ($module[user]) $modules = array_merge(($modules ? $modules : array()), array($name => $name)); + if ($module[user]) { + $type = module_execute($name, "type"); + $modules[$name] = $type[1]; + } } $theme->header(); |