Mercurial > hg > fapweb
diff admajax.php @ 546:f1f55db4228f
Always update current info display compo id if requested.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 16 Dec 2013 00:35:39 +0200 |
parents | d5ac0521ca16 |
children | b3e9c3eedc23 |
line wrap: on
line diff
--- a/admajax.php Mon Dec 16 00:27:43 2013 +0200 +++ b/admajax.php Mon Dec 16 00:35:39 2013 +0200 @@ -614,8 +614,8 @@ if (stFetchSQL("SELECT id FROM compos WHERE id=".$compo_id) === false) stError("Invalid compo ID ".$compo_id); else - if (stSetDisplayVarUpd("compoID", $compo_id)) { + stSetDisplayVarUpd("compoID", $compo_id); stSetDisplayVar("compoCurrEntry", 0); stSetDisplayVar("compoPrevEntry", 0); }