mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 03:33:49 +00:00
Phrases: Remove phrase from memcache if phrase detail deleted (no, really).
This commit is contained in:
@@ -43,6 +43,7 @@ else {
|
||||
//get values
|
||||
$phrase_detail_uuid = check_str($_GET["pdid"]);
|
||||
$phrase_uuid = check_str($_GET["pid"]);
|
||||
$phrase_language = check_str($_GET["lang"]);
|
||||
|
||||
//delete the detail entry
|
||||
if ($phrase_detail_uuid != '' && $phrase_uuid != '') {
|
||||
|
||||
@@ -477,7 +477,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
|
||||
echo " <td class='vtable'>".$phrase_detail_data." </td>\n";
|
||||
echo " <td class='vtable' style='text-align: center;'>".$field['phrase_detail_order']." </td>\n";
|
||||
echo " <td class='list_control_icons' style='text-align: left;'>";
|
||||
echo "<a href='phrase_detail_delete.php?pdid=".$field['phrase_detail_uuid']."&pid=".$phrase_uuid."&a=delete' alt='".$text['button-delete']."' onclick=\"return confirm('".$text['confirm-delete']."')\">".$v_link_label_delete."</a>";
|
||||
echo "<a href='phrase_detail_delete.php?pdid=".$field['phrase_detail_uuid']."&pid=".$phrase_uuid."&a=delete&lang=".$phrase_language."' alt='".$text['button-delete']."' onclick=\"return confirm('".$text['confirm-delete']."')\">".$v_link_label_delete."</a>";
|
||||
echo " </td>\n";
|
||||
echo "</tr>\n";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user