--- schedules_manual.php.orig 2011-02-18 11:26:28.926032333 -0500
+++ schedules_manual.php 2011-02-18 11:25:47.017912399 -0500
@@ -21,7 +21,7 @@
$schedule =& Schedule::find($_GET['recordid']);
// Not a manual schedule
if (empty($schedule->search) || $schedule->search != searchtype_manual)
- redirect_browser('tv/schedules');
+ redirect_browser(root_url.'tv/schedules');
}
// Create a new, empty schedule
else
@@ -50,7 +50,7 @@
// Redirect back to the schedule list
add_warning(t('The requested recording schedule has been
deleted.'));
save_session_errors();
- header('Location: tv/schedules');
+ header('Location: '.root_url.'tv/schedules');
exit;
}
}
@@ -106,7 +106,7 @@
// Save the schedule
$schedule->save($type);
// Redirect to the new schedule
- header('Location: tv/schedules/manual/'.$schedule->recordid);
+ header('Location:
'.root_url.'tv/schedules/manual/'.$schedule->recordid);
exit;
}
}
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/721358
Title:
infinite redirect in mythweb schedules
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs