1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Duplicate DataWriter doesn't use resolved class name

Discussion in 'Resolved Bug Reports' started by Darkwaltz4, Oct 7, 2010.

  1. Darkwaltz4

    Darkwaltz4 Member

    It calls resolveDynamicClass and gets back $createClass, checks it for false... and then promptly ignores it and uses the original unaltered $class when instantiating :D

    Not sure if the other calls to resolveDynamicClass go ignored like this - might want to double check, or my addons will get sad really fast!

    (ps - the mechanism for extending classes actually seems pretty nifty!)
     
  2. Darkwaltz4

    Darkwaltz4 Member

    Quick fix is just replacing
    PHP:
    return new $class
    with
    PHP:
    return new $createClass
    (within the line)
     
  3. Enigma

    Enigma Well-Known Member

Share This Page