added document last_updater to query and data importer

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10682 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
dragan-dan 2012-05-15 15:27:21 +00:00
parent f867fb2466
commit c25b22d669
2 changed files with 2 additions and 0 deletions

View file

@ -29,6 +29,7 @@
<column name="extra_vars" var="extra_vars" />
<column name="regdate" var="regdate" default="curdate()" />
<column name="last_update" var="last_update" default="curdate()" />
<column name="last_updater" var="last_updater" />
<column name="ipaddress" var="ipaddress" default="ipaddress()" />
<column name="list_order" var="list_order" default="0" />
<column name="update_order" var="update_order" default="0" />

View file

@ -647,6 +647,7 @@
$obj->tags = base64_decode($xmlDoc->post->tags->body);
$obj->regdate = base64_decode($xmlDoc->post->regdate->body);
$obj->last_update = base64_decode($xmlDoc->post->update->body);
$obj->last_updater = base64_decode($xmlDoc->post->last_updater->body);
if(!$obj->last_update) $obj->last_update = $obj->regdate;
$obj->ipaddress = base64_decode($xmlDoc->post->ipaddress->body);
$obj->list_order = $obj->update_order = $obj->document_srl*-1;