Git commits in Moodle 2.0.6 by Jamie Pratt

commit 6b7080c841c6ac1bc430a0148fd90b881a672ca7
Author: Jamie Pratt <me@jamiep.org>
Date:   Mon, 01 Aug 2011 23:43:37 +0800
Tag:    v2.0.6

MDL-28562 "automatic naming of file in convert_image not working" there is an obvious typo in the code causing the problem. The use of an equality check instead of the intended assignment.