fix - cannot save content filters
fix - cannot delete content filters
This commit is contained in:
parent
35f56abfed
commit
777a7a0b08
2 changed files with 4 additions and 2 deletions
|
|
@ -7,6 +7,8 @@
|
||||||
- fix: Macro documentation now states whether or not a macro can be nested
|
- fix: Macro documentation now states whether or not a macro can be nested
|
||||||
inside other macro and if so, under what conditions.
|
inside other macro and if so, under what conditions.
|
||||||
- fix: Media Folder (perlDreamer Consulting, LLC)
|
- fix: Media Folder (perlDreamer Consulting, LLC)
|
||||||
|
- fix: Cannot save new content filters.
|
||||||
|
- fix: Cannot delete content filter.
|
||||||
|
|
||||||
7.3.4
|
7.3.4
|
||||||
- fix: SQLForm - cannot add new asset (Martin Kamerbeek / Oqapi)
|
- fix: SQLForm - cannot add new asset (Martin Kamerbeek / Oqapi)
|
||||||
|
|
|
||||||
|
|
@ -79,7 +79,7 @@ sub www_deleteReplacement {
|
||||||
my $session = shift;
|
my $session = shift;
|
||||||
return $session->privilege->adminOnly() unless ($session->user->isInGroup(3));
|
return $session->privilege->adminOnly() unless ($session->user->isInGroup(3));
|
||||||
$session->db->write("delete from replacements where replacementId=".$session->db->quote($session->form->process("replacementId")));
|
$session->db->write("delete from replacements where replacementId=".$session->db->quote($session->form->process("replacementId")));
|
||||||
return www_listReplacements();
|
return www_listReplacements($session);
|
||||||
}
|
}
|
||||||
|
|
||||||
=head2 www_editReplacement ( $session )
|
=head2 www_editReplacement ( $session )
|
||||||
|
|
@ -146,7 +146,7 @@ sub www_editReplacementSave {
|
||||||
searchFor=>$session->form->process("searchFor"),
|
searchFor=>$session->form->process("searchFor"),
|
||||||
replaceWith=>$session->form->process("replaceWith")
|
replaceWith=>$session->form->process("replaceWith")
|
||||||
});
|
});
|
||||||
return www_listReplacements();
|
return www_listReplacements($session);
|
||||||
}
|
}
|
||||||
|
|
||||||
=head2 www_listReplacements ( $session )
|
=head2 www_listReplacements ( $session )
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue