From 9c88f3f5b11bc8cc6f02aff16db9b0122aa9f05f Mon Sep 17 00:00:00 2001
From: Julio Montoya
Date: Mon, 1 Sep 2008 20:32:39 +0200
Subject: [PATCH] [svn r16200] Minor - Multiline in the lp author
---
main/newscorm/lp_controller.php | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/main/newscorm/lp_controller.php b/main/newscorm/lp_controller.php
index 2ec813cbb9..e92d3c3c2c 100644
--- a/main/newscorm/lp_controller.php
+++ b/main/newscorm/lp_controller.php
@@ -575,9 +575,9 @@ switch($action)
else{
$_SESSION['refresh'] = 1;
$_SESSION['oLP']->set_name($_REQUEST['lp_name']);
- $author= $_REQUEST['lp_author'];
- //fixing the author name (no body or html tags)
- $len = strpos($author,'
')-strpos($author,'');
+ $author= $_REQUEST['lp_author'];
+ //fixing the author name (no body or html tags)
+ $len = strripos($author,'
')-strpos($author,'');
$author_fixed=substr($author,strpos($author,'
'), $len+4);
$_SESSION['oLP']->set_author($author_fixed);