Skip to content
This repository has been archived by the owner on May 14, 2020. It is now read-only.

Commit

Permalink
correct selectfields
Browse files Browse the repository at this point in the history
  • Loading branch information
dzove855 committed Jun 18, 2018
1 parent 02b5971 commit 0a17fb0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions func/dbconnector.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ function db-get ()

display="${DB_GET[$matcher:'display']:-$matcher}"

if [[ ! -z "${DB_GET['selectfields']}" ]]
if [[ ! -z "${DB_GET[$matcher:'selectfields']}" ]]
then
_select="${DB_GET['selectfields']%%;*}"
_select="${DB_GET[$matcher:'selectfields']%%;*}"
fi

if [[ -z "${DB_GET[$matcher:'where']}" ]]
Expand Down

0 comments on commit 0a17fb0

Please sign in to comment.