Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Rename $id --> $uuid for clarity.

  • Loading branch information...
commit ffb81c33571072e549d9f84f76c801699aef4cff 1 parent 5080bc1
@bharat bharat authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 modules/digibug/controllers/digibug.php
View
4 modules/digibug/controllers/digibug.php
@@ -55,7 +55,7 @@ public function print_photo($id) {
print $v;
}
- public function print_proxy($type, $id) {
+ public function print_proxy($type, $uuid) {
// If its a request for the full size then make sure we are coming from an
// authorized address
if ($type == "full") {
@@ -80,7 +80,7 @@ public function print_proxy($type, $id) {
}
}
- $proxy = ORM::factory("digibug_proxy", array("uuid" => $id));
+ $proxy = ORM::factory("digibug_proxy")->where("uuid", "=", $uuid)->find();
if (!$proxy->loaded() || !$proxy->item->loaded()) {
throw new Kohana_404_Exception();
}
Please sign in to comment.
Something went wrong with that request. Please try again.