clean-up typos
This commit is contained in:
parent
6eb27ce938
commit
4d4823cb5e
1 changed files with 3 additions and 3 deletions
|
|
@ -110,12 +110,12 @@ sub create {
|
||||||
$self->delete;
|
$self->delete;
|
||||||
my $url = $asset->get("url");
|
my $url = $asset->get("url");
|
||||||
$url =~ s/\/|\-|\_/ /g;
|
$url =~ s/\/|\-|\_/ /g;
|
||||||
my $description = WebGUI::HTML::filter($description, "all");
|
my $description = WebGUI::HTML::filter($asset->get('description'), "all");
|
||||||
my $keywords = join(" ",$asset->get("title"), $asset->get("menuTitle"), $asset->get("synopsis"), $url, $description));
|
my $keywords = join(" ",$asset->get("title"), $asset->get("menuTitle"), $asset->get("synopsis"), $url, $description);
|
||||||
my $add = $self->session->db->prepare("insert into assetIndex (assetId, title, startDate, endDate, creationDate, revisionDate,
|
my $add = $self->session->db->prepare("insert into assetIndex (assetId, title, startDate, endDate, creationDate, revisionDate,
|
||||||
ownerUserId, groupIdView, groupIdEdit, lineage, className, synopsis, keywords) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )");
|
ownerUserId, groupIdView, groupIdEdit, lineage, className, synopsis, keywords) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )");
|
||||||
$add->execute([$asset->getId, $asset->get("title"), $asset->get("startDate"), $asset->get("endDate"), $asset->get("creationDate"),
|
$add->execute([$asset->getId, $asset->get("title"), $asset->get("startDate"), $asset->get("endDate"), $asset->get("creationDate"),
|
||||||
$asset->get("revisionDate"), $asset->get("ownerUserId"), $asset->get("groupIdView", $asset->get("groupIdEdit"),
|
$asset->get("revisionDate"), $asset->get("ownerUserId"), $asset->get("groupIdView"), $asset->get("groupIdEdit"),
|
||||||
$asset->get("lineage"), $asset->get("className"), $asset->get("synopsis"), $keywords]);
|
$asset->get("lineage"), $asset->get("className"), $asset->get("synopsis"), $keywords]);
|
||||||
return $self;
|
return $self;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue