Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
TWEAK: Loads new labelset after creation
git-svn-id: file:///Users/Shitiz/Downloads/lssvn/trunk/unstable@1054 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
jcleeland committed May 28, 2004
1 parent f27bbcd commit 6b568ef
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion admin/labels.php
Expand Up @@ -43,7 +43,7 @@

//DO DATABASE UPDATESTUFF
if ($action == "updateset") {updateset($lid);}
if ($action == "insertset") {insertset();}
if ($action == "insertset") {$lid=insertset();}
if ($action == "modanswers") {modanswers($lid);}
if ($action == "delset") {if (delset($lid)) {unset($lid);}}

Expand Down Expand Up @@ -421,6 +421,10 @@ function insertset()
{
echo "<script type=\"text/javascript\">\n<!--\n alert(\""._LB_FAIL_UPDATESET." - ".$query." - ".mysql_error()."\")\n //-->\n</script>\n";
}
else
{
return mysql_insert_id();
}
}
function modanswers($lid)
{
Expand Down

0 comments on commit 6b568ef

Please sign in to comment.