Fixed Incorrect text in XenResource_Model_Resource::applyResourceIcon

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
 

Chris D

XenForo developer
Staff member
Yeah, in theory, that exception is unreachable, but, just in case, I've changed it. Thanks.
 
Top