aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/app_queue.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/app_queue.c b/apps/app_queue.c
index a221e9f55..56118fd8c 100644
--- a/apps/app_queue.c
+++ b/apps/app_queue.c
@@ -1792,10 +1792,10 @@ static struct call_queue *find_queue_by_name_rt(const char *queuename, struct as
} else
tmp_name = v->name;
- if (!ast_strlen_zero(v->value)) {
- /* Don't want to try to set the option if the value is empty */
- queue_set_param(q, tmp_name, v->value, -1, 0);
- }
+ /* NULL values don't get returned from realtime; blank values should
+ * still get set. If someone doesn't want a value to be set, they
+ * should set the realtime column to NULL, not blank. */
+ queue_set_param(q, tmp_name, v->value, -1, 0);
}
/* Temporarily set realtime members dead so we can detect deleted ones.