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

Fixed Incorrect text in XenResource_Model_Resource::applyResourceIcon

Discussion in 'Resource Manager Resolved Bugs' started by Jake B., Apr 13, 2015.

  1. Jake B.

    Jake B. Well-Known Member

    Line 1299 contains:
    Code:
    throw new XenForo_Exception('Non-image passed in to applyAvatar');
    
    I assume this is just from copy&pasting the applyAvatar function, but this should be:
    Code:
    throw new XenForo_Exception('Non-image passed in to applyResourceIcon');
    
    I know this really doesn't matter as nobody should ever see that exception anyways, but was just something I noticed while I was working on an add-on for a client.

    - Jake
     
  2. Chris D

    Chris D XenForo Developer Staff Member

    Yeah, in theory, that exception is unreachable, but, just in case, I've changed it. Thanks.
     

Share This Page