Commit 6afca8cc5a516944e0cbd1d771791de1a634bed2
1 parent
4daef597
fixed syntax error
Showing
1 changed file
with
4 additions
and
4 deletions
search2.php
| ... | ... | @@ -5,7 +5,7 @@ |
| 5 | 5 | * KnowledgeTree Community Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | 7 | * Copyright (C) 2008, 2009 KnowledgeTree Inc. |
| 8 | - * | |
| 8 | + * | |
| 9 | 9 | * |
| 10 | 10 | * This program is free software; you can redistribute it and/or modify it under |
| 11 | 11 | * the terms of the GNU General Public License version 3 as published by the |
| ... | ... | @@ -137,7 +137,7 @@ function search2QuerySort($sSortColumn, $sSortOrder) |
| 137 | 137 | uasort($sortresults, 'search2queryCompare'); |
| 138 | 138 | $results[$key] = $sortresults; |
| 139 | 139 | } |
| 140 | - | |
| 140 | + | |
| 141 | 141 | $_SESSION['search2_results'] = serialize($results); |
| 142 | 142 | } |
| 143 | 143 | |
| ... | ... | @@ -694,14 +694,14 @@ class SearchDispatcher extends KTStandardDispatcher { |
| 694 | 694 | } |
| 695 | 695 | } |
| 696 | 696 | else |
| 697 | - { | |
| 697 | + { | |
| 698 | 698 | if ($message == '') // generic failure message |
| 699 | 699 | { |
| 700 | 700 | $message = 'The saved search could not be deleted.'; |
| 701 | 701 | } |
| 702 | 702 | } |
| 703 | 703 | |
| 704 | - $this->errorRedirectTo('manage', sprintf(_kt('%s' , $message)); | |
| 704 | + $this->errorRedirectTo('manage', sprintf(_kt('%s' , $message))); | |
| 705 | 705 | } |
| 706 | 706 | |
| 707 | 707 | $this->successRedirectTo('manage', _kt('The saved search was deleted successfully.')); | ... | ... |