Created
November 17, 2011 18:20
-
-
Save felipelavinz/1373985 to your computer and use it in GitHub Desktop.
mappress_fix
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// mappress-api.php ~ 277 | |
// now: | |
$this->mapid = (int)$wpdb->get_var("SELECT LAST_INSERT_ID()"); | |
// proposed: | |
$this->mapid = (int)$wpdb->insert_id; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment