-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Minor updates #27
Minor updates #27
Conversation
Signed-off-by: Matt Friedman <[email protected]>
Signed-off-by: Matt Friedman <[email protected]>
Signed-off-by: Matt Friedman <[email protected]>
Signed-off-by: Matt Friedman <[email protected]>
This reverts commit c1abae3.
Signed-off-by: Matt Friedman <[email protected]>
@@ -155,7 +155,11 @@ public function add_prefix() | |||
|
|||
$tag = $this->request->variable('prefix_tag', '', true); | |||
$prefix = $this->manager->add_prefix($tag, $this->forum_id); | |||
$this->log($prefix['prefix_tag'], 'ACP_LOG_PREFIX_ADDED'); | |||
|
|||
if ($prefix) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does it not give feedback to the user, if this fails?
No. But feed back is not necessary. Submitting only does 1 things, adds the prefix to the list. If you're leaving it empty and hitting submit nothing is added to the list. It's so obvious that there's no need for feedback. The real problem is if it is blank now, you get a fatal error. This fixes that |
No description provided.