This repository has been archived on 2026-11-05. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
thetool/application/PreordercampaignOriginhostname/PreordercampaignOriginhostname.php
T

15 lines
300 B
PHP

<?php
class PreordercampaignOriginhostname extends mfBaseModel {
protected function beforeUpdate($data) {
if(!array_key_exists("edit_by", $data)) {
$me = new User();
$me->loadMe();
$data["edit_by"] = $me->id;
}
return $data;
}
}