diff --git a/libreplan-webapp/src/main/java/org/libreplan/web/orders/TimSynchronizationController.java b/libreplan-webapp/src/main/java/org/libreplan/web/orders/TimSynchronizationController.java
index 9303b8b59..678e4e699 100644
--- a/libreplan-webapp/src/main/java/org/libreplan/web/orders/TimSynchronizationController.java
+++ b/libreplan-webapp/src/main/java/org/libreplan/web/orders/TimSynchronizationController.java
@@ -100,9 +100,9 @@ public class TimSynchronizationController extends GenericForwardComposer {
}
}
- public boolean isTimDeactivated() {
+ public boolean isTimActivated() {
AppProperties appProperties = appPropertiesDAO.findByMajorIdAndName(
"Tim", "Activated");
- return !appProperties.getPropertyValue().equalsIgnoreCase("Y");
+ return appProperties.getPropertyValue().equalsIgnoreCase("Y");
}
}
diff --git a/libreplan-webapp/src/main/webapp/orders/components/_timOrderTimesheetSync.zul b/libreplan-webapp/src/main/webapp/orders/components/_timOrderTimesheetSync.zul
index 3d7d377f0..88eb48348 100644
--- a/libreplan-webapp/src/main/webapp/orders/components/_timOrderTimesheetSync.zul
+++ b/libreplan-webapp/src/main/webapp/orders/components/_timOrderTimesheetSync.zul
@@ -17,39 +17,38 @@
along with this program. If not, see .
-->
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
+
+
+
+
+
-
-
+
-
-
+
\ No newline at end of file