From c7f25783afc80db404d2e20b9af4740d0a6c9b6b Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Tue, 19 Oct 2010 20:58:50 +0200 Subject: remove name attribute not XHTML compatible Signed-off-by: Florian Pritz --- system/application/models/file_mod.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'system/application/models/file_mod.php') diff --git a/system/application/models/file_mod.php b/system/application/models/file_mod.php index 91cf1d8e0..b93aab354 100644 --- a/system/application/models/file_mod.php +++ b/system/application/models/file_mod.php @@ -210,7 +210,7 @@ class File_mod extends Model { } else { echo '
';
               // generate line numbers (links)
-              passthru('/usr/bin/perl -ne \'print "$.\n"\' '.escapeshellarg($file));
+              passthru('/usr/bin/perl -ne \'print "$.\n"\' '.escapeshellarg($file));
               echo '
'."\n"; $this->load->library('geshi'); $this->geshi->initialize(array('set_language' => $mode, 'set_source' => file_get_contents($file), 'enable_classes' => 'true')); -- cgit v1.2.3-24-g4f1b