bugfix invalid variable on resource/getlist

incorrect copy-pasting? :)