Permalink
Browse files

Merge pull request #28 from SkyPHP/josh

i think these are the last changes for jo ann
  • Loading branch information...
2 parents 9963f21 + 6247307 commit 55f0940a21a6efc0b186ab662c92d21a5fad6ecd @stanistan committed May 8, 2012
Showing with 5 additions and 4 deletions.
  1. +5 −4 pages/admin/seo/webpage/ajax/save-seo.php
@@ -31,9 +31,10 @@
$data = array(
'field' => $_POST['field'],
'value' => $_POST['value'],
+ 'website_id' => $_POST['website_id'],
+ 'website_page_id' => $_POST['wp_id'],
'mod__person_id' => PERSON_ID,
- 'update_time' => 'now()',
- 'website_id' => $rs[0]['website_id']
+ 'update_time' => 'now()'
);
if (is_numeric($rs[0]['website_page_data_id'])) {
$update=aql::update('website_page_data',$data,$rs[0]['website_page_data_ide']);
@@ -52,9 +53,9 @@
'field' => $_POST['field'],
'value' => $_POST['value'],
'website_id' => $_POST['website_id'],
+ 'website_page_id' => $_POST['wp_id'],
'mod__person_id' => PERSON_ID,
- 'update_time' => 'now()',
- 'website_id' => $rs[0]['website_id']
+ 'update_time' => 'now()'
);
if (is_numeric($rs[0]['website_uri_data_id'])) {
$update=aql::update('website_uri_data',$data,$rs[0]['website_uri_data_ide']);

0 comments on commit 55f0940

Please sign in to comment.