aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--templates/income/create.html2
-rw-r--r--templates/payment/create.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/income/create.html b/templates/income/create.html
index a7755db..2f57250 100644
--- a/templates/income/create.html
+++ b/templates/income/create.html
@@ -49,7 +49,7 @@
{% for user in users %}
<option
value="{{ user.id }}"
- {% if "" ~ user.id == user_id %} selected {% endif %}
+ {% if ("" ~ user.id) == ("" ~ user_id) %} selected {% endif %}
>
{{ user.name }}
</option>
diff --git a/templates/payment/create.html b/templates/payment/create.html
index 7bcc536..8d18c13 100644
--- a/templates/payment/create.html
+++ b/templates/payment/create.html
@@ -69,7 +69,7 @@
{% for user in users %}
<option
value="{{ user.id }}"
- {% if "" ~ user.id == user_id %}
+ {% if ("" ~ user.id) == ("" ~ user_id) %}
selected
{% endif %}
>