Skip to content

Commit 7cb1939

Browse files
committed
missing spaces
1 parent 24687ab commit 7cb1939

File tree

2 files changed

+2
-103
lines changed

2 files changed

+2
-103
lines changed

jcr_link_custom.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
// 1 = Plugin help is in raw HTML. Not recommended.
1818
# $plugin['allow_html_help'] = 1;
1919

20-
$plugin["version"] = "0.2.3";
20+
$plugin["version"] = "0.2.4";
2121
$plugin["author"] = "jcr / txpbuilders";
2222
$plugin["author_uri"] = "http://txp.builders";
2323
$plugin["description"] = "Adds multiple custom fields to the links panel";
@@ -165,7 +165,7 @@ public static function lifecycle($event, $step)
165165
}
166166

167167
// Upgrade: Migrate from NULL to '' default value
168-
$has_nulls = safe_rows_start("*", "txp_link","`jcr_link_custom_1` IS NULL OR `jcr_link_custom_2` IS NULLOR `jcr_link_custom_3` IS NULL OR `jcr_link_custom_4` ISNULL OR `jcr_link_custom_5` IS NULL");
168+
$has_nulls = safe_rows_start("*", "txp_link","`jcr_link_custom_1` IS NULL OR `jcr_link_custom_2` IS NULL OR `jcr_link_custom_3` IS NULL OR `jcr_link_custom_4` IS NULL OR `jcr_link_custom_5` IS NULL");
169169
if (@numRows($has_nulls) > 0) {
170170
safe_update("txp_link", "jcr_link_custom_1 = ''", "jcr_link_custom_1 IS NULL");
171171
safe_update("txp_link", "jcr_link_custom_2 = ''", "jcr_link_custom_2 IS NULL");

jcr_link_custom_v0.2.3.txt

Lines changed: 0 additions & 101 deletions
This file was deleted.

0 commit comments

Comments
 (0)