diff --git a/phpgwapi/inc/functions.inc.php b/phpgwapi/inc/functions.inc.php
index af7f93b6ff..4a7bb94d68 100644
--- a/phpgwapi/inc/functions.inc.php
+++ b/phpgwapi/inc/functions.inc.php
@@ -247,6 +247,9 @@
/* Make sure the developer is following the rules. */
if (!isset($GLOBALS['phpgw_info']['flags']['currentapp']))
{
+ $phpgw->log->message('W-MissingFlags, currentapp flag not set');
+ $phpgw->log->commit();
+
echo '!!! YOU DO NOT HAVE YOUR $phpgw_info["flags"]["currentapp"] SET !!!';
echo '
!!! PLEASE CORRECT THIS SITUATION !!!';
}
@@ -534,7 +537,10 @@
{
/* Hope we don't get to this point. Better then the user seeing a */
/* complety back screen and not know whats going on */
- echo '