Created
October 16, 2009 11:43
-
-
Save sinkovsky/211761 to your computer and use it in GitHub Desktop.
This file contains 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
//checking for existing corresponding row in mt_entry_extra | |
if (!self::IsEntryExtraExist($_REQUEST['entry_id'])) { | |
self::InsertEntryExtra($_REQUEST['entry_id']); | |
} | |
if ($_REQUEST['blog_id'] == 3) { | |
$extra_values = array('entry_extra_show_tweets' => $extra_value['entry_extra_show_tweets'] ); | |
} | |
$affectedRows = self::$Dbh->extended->autoExecute("mt_entry_extra", $extra_values, MDB2_AUTOQUERY_UPDATE, "entry_extra_id=".self::$Dbh->quote($_REQUEST['entry_id'])); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment