Originally Posted by Seerah
If, for some reason, it's not working, then do this:
local frame = something or somethingelse
SetParent(frame)
|
Neither of the or'ing methods work it always trys to hook to the first frame passed and when it finds its not a frame it errors.
doing a frame =~ nil did work