mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Merge branch 'php_fix' into pu
This commit is contained in:
commit
83887b97df
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ if (has_credential(CRED_TU_ADD_VOTE)) {
|
||||||
|
|
||||||
if (!empty($_POST['addVote']) && empty($error)) {
|
if (!empty($_POST['addVote']) && empty($error)) {
|
||||||
// Convert $quorum to a String of maximum length "12.34" (5).
|
// Convert $quorum to a String of maximum length "12.34" (5).
|
||||||
$quorum_str = substr(strval($quorum), min(5, strlen($quorum));
|
$quorum_str = substr(strval($quorum), min(5, strlen($quorum)));
|
||||||
add_tu_proposal($_POST['agenda'], $_POST['user'],
|
add_tu_proposal($_POST['agenda'], $_POST['user'],
|
||||||
$len, $quorum_str, $uid);
|
$len, $quorum_str, $uid);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue