1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-07 07:06:30 +02:00

Fixes for MYSQL_ASSOC change in db_Fetch

This commit is contained in:
mcfly
2009-01-22 01:58:29 +00:00
parent 31794e5529
commit 57aeaf5020
6 changed files with 434 additions and 434 deletions

View File

@@ -11,9 +11,9 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/print.php,v $
| $Revision: 1.7 $
| $Date: 2008-01-09 22:06:22 $
| $Author: e107steved $
| $Revision: 1.8 $
| $Date: 2009-01-22 01:58:29 $
| $Author: mcfly_e107 $
+----------------------------------------------------------------------------+
*/
require_once("class2.php");
@@ -65,9 +65,9 @@ else
else
{
$sql->db_Select("news_category", "category_id, category_name", "category_id='{$news_category}'");
list($category_id, $category_name) = $sql->db_Fetch();
list($category_id, $category_name) = $sql->db_Fetch(MYSQL_NUM);
$sql->db_Select("user", "user_id, user_name", "user_id='{$news_author}'");
list($a_id, $a_name) = $sql->db_Fetch();
list($a_id, $a_name) = $sql->db_Fetch(MYSQL_NUM);
}
$news_datestamp = $con->convert_date($news_datestamp, "long");
$print_text = "<span style=\"font-size: 13px; color: black; font-family: tahoma, verdana, arial, helvetica; text-decoration: none\">