kla/php-activerecord — pull request #180 by novicu (2011-12-08 02:16:10+00:00)
Title: null return saving models with camel-style pk

lib/table.php line 272. If someone set a pk in the model with camel style (ex: productId), the old line would take "productid" and send a notice "Notice: Trying to get property of non-object", because this function returns null.