[svn r12956] simpleXmlElement->nodeValue() becomes simpleXmlElement->nodeValue due to strange compatibility reasons

skala
Eric Marguin 17 years ago
parent 6762cceeeb
commit cccf074975
  1. 2
      main/admin/session_import.php

@ -296,7 +296,7 @@ if($_POST['formSent'])
$session_id = mysql_insert_id();
foreach ($sessionNode->User as $userNode){
$username = mb_convert_encoding(substr($userNode->nodeValue(),0,20),$charset,'utf-8');
$username = mb_convert_encoding(substr($userNode->nodeValue,0,20),$charset,'utf-8');
$sqlUser = "SELECT user_id FROM $tbl_user WHERE username='".Database::escape_string($username)."'";
$rsUser = api_sql_query($sqlUser);
list($user_id) = (mysql_fetch_array($rsUser));

Loading…
Cancel
Save