Skip to content

Commit 83764ce

Browse files
committed
Fix wrong conditions
1 parent 0e2917f commit 83764ce

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/org/netbeans/modules/php/wordpress/customizer/WordPressCustomizerExtender.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -182,17 +182,17 @@ public EnumSet<Change> save(PhpModule pm) {
182182
}
183183

184184
String wordPressRoot = getPanel().getWordPressRootDirectory();
185-
if (!originalCustomeContentName.equals(wordPressRoot)) {
185+
if (!originalWordPressRoot.equals(wordPressRoot)) {
186186
WordPressPreferences.setWordPressRootPath(phpModule, wordPressRoot);
187187
}
188188

189189
String plugins = getPanel().getPluginsDirectory();
190-
if (!originalCustomeContentName.equals(plugins)) {
190+
if (!originalPlugins.equals(plugins)) {
191191
WordPressPreferences.setPluginsPath(phpModule, plugins);
192192
}
193193

194194
String themes = getPanel().getThemesDirectory();
195-
if (!originalCustomeContentName.equals(themes)) {
195+
if (!originalThemes.equals(themes)) {
196196
WordPressPreferences.setThemesPath(phpModule, themes);
197197
}
198198

0 commit comments

Comments
 (0)