Changeset 1864977
- Timestamp:
- 04/26/2018 06:25:51 PM (8 years ago)
- Location:
- appful/trunk
- Files:
-
- 2 edited
-
controllers/respond.php (modified) (1 diff)
-
models/comment.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
appful/trunk/controllers/respond.php
r1864976 r1864977 15 15 $appful_api->error("No post specified. Include 'post_id' var in your request."); 16 16 die(); 17 } else if (empty($_REQUEST[' comment_name']) || empty($_REQUEST['email']) || empty($_REQUEST['content'])) {17 } else if (empty($_REQUEST['author_name']) || empty($_REQUEST['email']) || empty($_REQUEST['content'])) { 18 18 $appful_api->error("Please include all required arguments (name, email, content)."); 19 19 die(); -
appful/trunk/models/comment.php
r1864976 r1864977 67 67 $data = array( 68 68 'comment_post_ID' => $_REQUEST["post_id"], 69 'comment_author' => $_REQUEST[" comment_name"],69 'comment_author' => $_REQUEST["author_name"], 70 70 'comment_author_email' => $_REQUEST["email"], 71 71 'comment_author_url' => $_REQUEST["url"],
Note: See TracChangeset
for help on using the changeset viewer.