krolow/Attach — pull request #18 by BigBlueHat (2013-02-21 19:39:27+00:00)
Title: fixed extension()

$model was missing in getFileExtension call