From 7ebd772f417fe7bd6324fdd12707c1b9c89ce324 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sat, 16 Oct 2004 07:22:26 +0000 Subject: - Patch #10664 by TDobes: fixed collapsed comments + updated the code comments. --- modules/node.module | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'modules/node.module') diff --git a/modules/node.module b/modules/node.module index 996e7631e..dc7598177 100644 --- a/modules/node.module +++ b/modules/node.module @@ -1449,9 +1449,8 @@ function node_page() { $op = $_POST['op'] ? $_POST['op'] : arg(1); $edit = $_POST['edit']; - // Temporary solution for backward compatibility. if (is_numeric($op)) { - $op = arg(2) ? arg(2) : 'view'; + $op = (arg(2) && !is_numeric(arg(2))) ? arg(2) : 'view'; } switch ($op) { -- cgit v1.2.3