summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/system/system.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/system/system.module b/modules/system/system.module
index 0963745d4..27e406934 100644
--- a/modules/system/system.module
+++ b/modules/system/system.module
@@ -2137,7 +2137,7 @@ function system_node_type($op, $info) {
* The form.
*/
function confirm_form($form, $question, $path, $description = NULL, $yes = NULL, $no = NULL, $name = 'confirm') {
- $description = ($description) ? $description : t('This action cannot be undone.');
+ $description = isset($description) ? $description : t('This action cannot be undone.');
// Prepare cancel link
$query = $fragment = NULL;