changeset 672:f55dc6599308

quotedb: Cleanup.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 23 Feb 2021 14:42:17 +0200
parents 3904fcfeeb9a
children afe4b1fe5e79
files quotedb.tcl
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/quotedb.tcl	Tue Feb 23 14:41:42 2021 +0200
+++ b/quotedb.tcl	Tue Feb 23 14:42:17 2021 +0200
@@ -325,7 +325,7 @@
 
   qdb_handle eval $usql {
     if {[string range $uquote 0 3] == "img:"} {
-      set uquote "$urlprefix[string range $uquote 4 end]"
+      set uquote "${urlprefix}[string range $uquote 4 end]"
     }
     qdb_msg $ucmd $utable $upublic $unick $uchan "fmt_get" [list $quoteID $uquote $uuser [utl_ctime $utime] $uvote]
     return 1