|
From: Jon O. <jon...@us...> - 2005-04-05 20:52:38
|
Update of /cvsroot/mxbb/mx_kb/admin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2051/modules/mx_kb/admin Modified Files: admin_kb_art.php Log Message: forgot a bunch of switches for the core 2.7.x branch :( Index: admin_kb_art.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/admin/admin_kb_art.php,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** admin_kb_art.php 2 Apr 2005 22:03:19 -0000 1.18 --- admin_kb_art.php 5 Apr 2005 20:52:20 -0000 1.19 *************** *** 112,116 **** $start = ( isset( $HTTP_GET_VARS['start'] ) ) ? intval( $HTTP_GET_VARS['start'] ) : 0; - $article_id = intval( $HTTP_GET_VARS['a'] ); --- 112,115 ---- *************** *** 119,122 **** --- 118,123 ---- case 'approve': + $kb_custom_field = new kb_custom_field(); + $sql = "SELECT * FROM " . KB_ARTICLES_TABLE . " WHERE article_id = " . $article_id; if ( !( $results = $db->sql_query( $sql ) ) ) |