Seite 2 von 2

Verfasst: 22.02.2007 13:22
von easygo
Kommentier mal ab else alles aus bis zum letzten break; also..

Code: Alles auswählen

/*
				else
				{

					// There are no replies to this topic
					// Check if it is a move stub
					$sql = 'SELECT topic_moved_id 
						FROM ' . TOPICS_TABLE . " 
						WHERE topic_id = $id";

					if (!($result = $db->sql_query($sql)))
					{
						message_die(GENERAL_ERROR, 'Could not get topic ID', '', __LINE__, __FILE__, $sql);
					}

					if ($row = $db->sql_fetchrow($result))
					{
						if (!$row['topic_moved_id'])
						{
							$sql = 'DELETE FROM ' . TOPICS_TABLE . " WHERE topic_id = $id";
			
							if (!$db->sql_query($sql))
							{
								message_die(GENERAL_ERROR, 'Could not remove topic', '', __LINE__, __FILE__, $sql);
							}
						}
					}

					$db->sql_freeresult($result);
				}
			}
*/
und falls das dann irgendwo fehlt, einfach nochmal melden. easy

Verfasst: 22.02.2007 13:27
von dirokc
Es geht!!!

Danke erstmal!!!!!!!!
Werd aber dann bei gelegenheit wohl auf 2.1.6 updaten.....

Verfasst: 22.02.2007 17:12
von mgutt
Grundsatz:
Mache nie ein Update / Modeinbau ohne Backup

Gruß