Purchase order reference was not restored after last PO cancelation.
[fa-stable.git] / access / logout.php
index 6ea32fd7d6599775499e5427a0e9ea4dfff3d455..0e28a56db7c16434d63c99879c3f2dc88918291e 100644 (file)
@@ -9,6 +9,9 @@
     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  
     See the License here <http://www.gnu.org/licenses/gpl-3.0.html>.
 ***********************************************************************/
+
+define("FA_LOGOUT_PHP_FILE","");
+
 $page_security = 'SA_OPEN';
 $path_to_root="..";
 include($path_to_root . "/includes/session.inc");
@@ -44,7 +47,7 @@ echo "</div></td>
 <br>\n";
 end_page(false, true);
 session_unset();
-session_destroy();
+@session_destroy();
 ?>