Files
ponzi/laravel
RK 258169ea00 [#1261] get_key now pulls from $original instead
This is in reference to issue #1261, where Model->get_key() returns
the key from the $attributes instead of from the $original property.
This breaks the functionality of a model with a primary key that may
change, as the SQL generated will be something like:

UPDATE `model` SET `key` = 'new-key' WHERE `key` = 'new-key';

Which won't update the model in the database.
2012-09-24 09:58:20 -04:00
..
2012-08-03 18:17:48 +03:00
2012-04-10 22:36:20 -05:00
2012-05-02 16:52:55 -05:00
2012-07-27 11:29:59 +00:00
2012-06-13 11:19:20 -04:00
2012-07-31 09:55:45 +02:00
2012-09-01 21:48:37 -05:00
2012-08-03 18:17:48 +03:00
2012-07-27 11:29:59 +00:00
2012-03-23 22:54:09 -05:00
2012-02-23 14:02:59 -06:00
2012-08-03 18:17:48 +03:00
2012-07-27 11:29:59 +00:00
2012-08-20 10:46:23 -05:00
2012-08-03 18:17:48 +03:00
2012-05-30 08:41:03 -05:00
2012-08-03 18:17:48 +03:00
2012-07-27 11:29:59 +00:00
2012-08-03 18:17:48 +03:00
2012-04-10 11:37:38 -05:00
2012-06-13 11:19:20 -04:00
2012-08-03 18:17:48 +03:00