AdiBags

165 - Typo: AdiBags_PT3Filter.lua, line 97

In the newest release of PT3Filter, there is a typo on line 97 that is causing a lua error on my setup.

local function GetSetPart(index, ...)
    local num = select('#', ...)
    if index < 0 then
        index = num + 1 + index
    elseif idnex > num then
        index = num
    end
    if index < 1 then
        index = 1
    end
    return (select(index, ...))
end

Line 97, the "elseif idnex" should be "elseif index". As it stands, "idnex" is nil and raises an error when numbers are compared to it.

User When Change
Adirelle Apr 30, 2013 at 18:03 UTC
daagaak Apr 02, 2013 at 06:42 UTC Create

You must login to post a comment. Don't have an account? Register to get one!

  • 1 comment
  • Avatar of daagaak daagaak Apr 02, 2013 at 06:42 UTC - 0 likes

    Substituting "index" for "idnex" clears up the problems on my machine and returns PT3Filter to working again.

  • 1 comment

Facts

Last updated
Apr 30, 2013
Reported
Apr 02, 2013
Status
Fixed - Developer made requested changes. QA should verify.
Type
Defect - A shortcoming, fault, or imperfection
Priority
Medium - Normal priority.
Votes
0

Reported by

Possible assignees