dingwen
Forum Replies Created
-
Here is the code blocks for the changes I applied to the plugin.
Line 298
if(!isset($nggcf_values[$pid]) or !$nggcf_values[$pid])Line 342
[Code moderated as per the Forum Rules. Please use the pastebin]
Line 391 becomes 406
if(isset($_GET["delete"]) and is_numeric($_GET["delete"]))Line 426 becomes 441
if(isset($_GET["editname"]) and $_GET["editname"] == $val->id)Line 458 becomes 473
<div id="nggcf-edit-link-<?php echo $val->id; ?>" class="nggcf-edit-link" style="display:<?php echo (isset($_GET["editlink"]) and $_GET["editlink"] == $val->id) ? "block" : "none"; ?>;">So far, I haven’t found a broken function. If anyone apply those changes and found a function broken let me know.
I definitely appreciate your plugin. Thanks a quick reply. Maybe I can apply those isset check for those few lines and send it to you, and you can check them to see if they are good to stay.
I applied a wrong change to the line 298. It should be
!isset($nggcf_values[$pid])
Not
isset($nggcf_values[$pid])After I applied the new change, notice message on line 807 doesn’t show up.