Commit 060c4306 authored by Bate's avatar Bate

SAS, Completion de photo, on passe l'argument id_photo dans l'URL, ce qui...

SAS, Completion de photo, on passe l'argument id_photo dans l'URL, ce qui permet de bookmark l'endroit ou l'on etait, bien sur ca marche jamais du premier coup
parent e7648482
......@@ -74,9 +74,10 @@ else
$page .= "mode=full";
}
$photo->load_by_id($_REQUEST["id_photo"]);
if ( $_REQUEST["action"] == "complete" )
{
$photo->load_by_id($_REQUEST["id_photo"]);
if ( $photo->is_right($site->user,DROIT_ECRITURE))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment