Module: appdb Branch: master Commit: 569f2eb2c95acb4ef4f04ba6673bedf66a40cb57 URL: http://source.winehq.org/git/appdb.git/?a=commit;h=569f2eb2c95acb4ef4f04ba66...
Author: Jeremy Newman jnewman@codeweavers.com Date: Fri Feb 3 11:16:31 2017 -0600
instead of outputting debug, put in the console
---
admin/editAppFamily.php | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/admin/editAppFamily.php b/admin/editAppFamily.php index 6531fb4..a04b7a5 100644 --- a/admin/editAppFamily.php +++ b/admin/editAppFamily.php @@ -31,13 +31,16 @@ else
$oApp = new Application($aClean['iAppId']); - + if(!$oApp) { util_show_error_page_and_exit('Application does not exist'); } - - if($_SESSION['current']->showDebuggingInfos()) { echo "<p align=center><b>appName:</b> $oApp->sName </p>"; } + + if($_SESSION['current']->showDebuggingInfos()) + { + appdb_debug("appName: {$oApp->sName}"); + }
apidb_header("Edit Application Family");