bastianallgeier/kirby — pull request #16 by sandrewh (2012-04-23 20:33:59+00:00)
Title: execute: check for 0 rather than FALSE from mysql_insert_id(…)

From the docs:
"The ID generated for an AUTO_INCREMENT column by the previous query on
success, 0 if the previous query does not generate an AUTO_INCREMENT
value, or FALSE if no MySQL connection was established."