Skip to content

Instantly share code, notes, and snippets.

@karlkovaciny
Created January 10, 2013 12:59
if (isset($_POST['inreplyto'])) { //admin is setting date
$newinreplyto = $_POST['inreplyto'];
} else if (isset($_GET['irtid'])){ //for edits by regular users
$newinreplyto = $_GET['irtid'];
} else {$newinreplyto = 0;}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment