Add missing ) for addvote.php

This commit is contained in:
Jelle van der Waa 2021-06-06 21:49:27 +02:00
parent 1874e821f5
commit 889d358a6d
No known key found for this signature in database
GPG key ID: C06086337C50773E

View file

@ -69,7 +69,7 @@ if (has_credential(CRED_TU_ADD_VOTE)) {
if (!empty($_POST['addVote']) && empty($error)) {
// 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'],
$len, $quorum_str, $uid);