]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-3959 Fix issue on PropertiesDao
authorFabrice Bellingard <fabrice.bellingard@sonarsource.com>
Wed, 30 Jan 2013 14:12:58 +0000 (15:12 +0100)
committerFabrice Bellingard <fabrice.bellingard@sonarsource.com>
Wed, 30 Jan 2013 14:23:22 +0000 (15:23 +0100)
sonar-core/src/main/resources/org/sonar/core/properties/PropertiesMapper.xml

index d8df028f0f75771dc4e51770fec08655921d0df3..90d51ff35285f881648905afb807fcd342189c4b 100644 (file)
     FROM properties P, users U
     WHERE P.user_id = U.id AND P.prop_key = #{notifKey} AND P.text_value = 'true'
     <if test="rId == null">
-      AND p.resource_id is null
+      AND P.resource_id is null
     </if>
     <if test="rId != null">
-      AND p.resource_id = #{rId}
+      AND P.resource_id = #{rId}
     </if>
   </select>