Commit be99b097 authored by Leigh Stoller's avatar Leigh Stoller

Oops, dabbrevs error ... change TBWebdbAllowed to TBWebCamAllowed().

parent d46902e1
......@@ -205,7 +205,7 @@ echo " Click on the dots below to see information about the robot\n";
echo " <br>\n";
echo " Click elsewhere to get its x,y location.\n";
echo " <br>\n";
if ($isadmin || TBWebdbAllowed($uid)) {
if ($isadmin || TBWebCamAllowed($uid)) {
echo " There is a nifty <a href=webcam.php3>webcam image</a> of the";
echo " robots too\n";
echo " <br>\n";
......
......@@ -39,7 +39,7 @@ if (!$admins_can_view || (!$anyone_can_view && !$isadmin)) {
#
# Now check permission.
#
if (!$isadmin && !TBWebdbAllowed($uid)) {
if (!$isadmin && !TBWebCamAllowed($uid)) {
MyError("Not enough permission to view the robot cameras!");
}
......
......@@ -64,7 +64,7 @@ if (!$admins_can_view || (!$anyone_can_view && !$isadmin)) {
#
# Now check permission.
#
if (!$isadmin && !TBWebdbAllowed($uid)) {
if (!$isadmin && !TBWebCamAllowed($uid)) {
MyError("Not enough permission to view the robot cameras!");
}
......
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