[Vtigercrm-commits] [vtiger-commits] r6618 - /vtigercrm/trunk/modules/Calendar/updateCalendarSharing.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Sun May 28 09:06:57 EDT 2006
Author: saraj
Date: Sun May 28 07:06:54 2006
New Revision: 6618
Log:
changes made to update the sharing data
Modified:
vtigercrm/trunk/modules/Calendar/updateCalendarSharing.php
Modified: vtigercrm/trunk/modules/Calendar/updateCalendarSharing.php
==============================================================================
--- vtigercrm/trunk/modules/Calendar/updateCalendarSharing.php (original)
+++ vtigercrm/trunk/modules/Calendar/updateCalendarSharing.php Sun May 28 07:06:54 2006
@@ -21,8 +21,19 @@
$adb->query($sql);
}
}
- header("Location: index.php?action=index&module=Calendar&parenttab=My Home Page");
}
+if(isset($_REQUEST['start_hour']) && $_REQUEST['start_hour'] != '')
+{
+ $sql = "update users set start_hour='".$_REQUEST['start_hour']."' where id=".$current_user->id;
+ $adb->query($sql);
+}
+
+if(isset($_REQUEST['hour_format']) && $_REQUEST['hour_format'] != '')
+{
+ $sql = "update users set hour_format='".$_REQUEST['hour_format']."' where id=".$current_user->id;
+ $adb->query($sql);
+}
+header("Location: index.php?action=index&module=Calendar&parenttab=My Home Page");
?>
More information about the vtigercrm-commits
mailing list