Commit 8cff0b50 authored by Dominique Merle's avatar Dominique Merle 💬
Browse files

The error trigger reported an error.

Thankfully, we have a test-suite.
parent e13e8ad5
...@@ -226,7 +226,7 @@ class LimajuPollOptionTally ...@@ -226,7 +226,7 @@ class LimajuPollOptionTally
if (isset($tally[$mention])) { if (isset($tally[$mention])) {
$count += (int) $tally[$mention]; $count += (int) $tally[$mention];
} else { } else {
trigger_error("Mention `$mention' is not available in the tally.", E_ERROR); trigger_error("Mention `$mention' is not available in the tally.", E_USER_ERROR);
} }
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment