Commit ae1a6421 authored by Leigh B Stoller's avatar Leigh B Stoller

Allow image lookup by uuid, to include version.

parent f070f698
......@@ -584,7 +584,7 @@ function VerifyPageArguments($argspec, $required)
$yep = 1;
if (ValidateArgument($name, PAGEARG_UUID, $imageid, 0)) {
$object = Image::LookupByUUID($imageid);
$object = Image::LookupByUUID($imageid, $version);
elseif (ValidateArgument($name, PAGEARG_IMAGE, $imageid)) {
$object = Image::Lookup($imageid, $version);
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