From 2315d7e6f760191f1202ccb7775605b6e6c49065 Mon Sep 17 00:00:00 2001 From: xzilla Date: Thu, 15 Nov 2007 17:13:16 +0000 Subject: [PATCH] clean up some complaints from work's php --- functions.php | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/functions.php b/functions.php index ab8145a0..0bcde67f 100644 --- a/functions.php +++ b/functions.php @@ -3,7 +3,7 @@ /** * Manage functions in a database * - * $Id: functions.php,v 1.70 2007/11/15 06:06:45 xzilla Exp $ + * $Id: functions.php,v 1.71 2007/11/15 17:13:16 xzilla Exp $ */ // Include application functions @@ -32,7 +32,8 @@ $_POST['original_arguments'], $_POST['original_returns'], $def, $_POST['original_lang'], $_POST['formProperties'], - isset($_POST['original_setof']), $_POST['formCost'], + isset($_POST['original_setof']), + isset($_POST['formCost']) ? $_POST['formCost'] : null, isset($_POST['formRows']) ? $_POST['formRows'] : 0, $_POST['formComment']); if ($status == 0) doProperties($lang['strfunctionupdated']); @@ -258,8 +259,8 @@ // Display function cost options if ($data->hasFunctionCosting()) { echo "{$lang['strfunctioncosting']}\n"; - echo "{$lang['strexecutioncost']}: {$misc->printVal($funcdata->fields['procost'])} "; - echo "{$lang['strresultrows']}: {$misc->printVal($funcdata->fields['prorows'])} "; + echo "{$lang['strexecutioncost']}: ", $misc->printVal($funcdata->fields['procost']), " "; + echo "{$lang['strresultrows']}: ", $misc->printVal($funcdata->fields['prorows']), " "; } // Show flags -- 2.39.5