Fixing bug.

main
Ad5001 9 months ago
parent bb25c6e7a8
commit a06ddabdc4
Signed by: Ad5001
GPG Key ID: EF45F9C6AFE20160
  1. 3
      oop.sh

@ -166,8 +166,9 @@ static_class() {
_accessProperty() {
varName=$1
prop=$2
val="${@:4}"
if [ "$3" == "=" ]; then
eval "_${varName}_properties[$prop]=\"${@:4}\""
eval "_${varName}_properties[$prop]=\"\$val\""
else
eval "echo \${_${varName}_properties[$prop]}"
fi

Loading…
Cancel
Save