forked from extern/egroupware
This should fix the needle having to be greater than 0 problem
This commit is contained in:
parent
e369c4379b
commit
81f47a6b7b
@ -88,16 +88,9 @@
|
||||
<?php
|
||||
if(count($grants) > 0)
|
||||
{
|
||||
$page_array = explode('/',$phpgw_info['server']['webserver_url']);
|
||||
$page_dir = '/';
|
||||
for($i=3;$i<count($page_array);$i++)
|
||||
{
|
||||
$page_dir .= $page_array[$i].'/';
|
||||
}
|
||||
$page_dir = substr($page_dir,0,strlen($page_dir)-1);
|
||||
$page = str_replace($page_dir,'',$PHP_SELF);
|
||||
$script = '/calendar/' . basename($SCRIPT_FILENAME);
|
||||
?>
|
||||
<form action="<?php echo $phpgw->link($page); ?>" method="POST" name="setowner">
|
||||
<form action="<?php echo $phpgw->link($script); ?>" method="POST" name="setowner">
|
||||
<td width="20%" align="center" valign="center">
|
||||
<b><?php echo lang('User'); ?>:</b>
|
||||
<input type="hidden" name="from" value="<?php echo $PHP_SELF; ?>">
|
||||
|
Loading…
Reference in New Issue
Block a user