MDL-26010 Reformatting SQL of the previous Andrew's fix
authorDavid Mudrak <david@moodle.com>
Fri, 18 Feb 2011 16:33:37 +0000 (17:33 +0100)
committerDavid Mudrak <david@moodle.com>
Fri, 18 Feb 2011 16:33:37 +0000 (17:33 +0100)
commited79b89b85b918f6d6093cdc52eb5c26d75b61ba
treec6b58e0009462d9c8f5cec03279b9eca3dd1c95b
parent42291c61619d61b0111e1d33041dedfa13801c14
MDL-26010 Reformatting SQL of the previous Andrew's fix

I have reformatted the SQL according to the style used in Moodle code to
improve readability of the query. Added sql_compare_text() to the right
side of the comparison, even though the current callers provide integers
here (just in case).
blog/lib.php