Title: Code modification
Last modified: March 29, 2017

---

# Code modification

 *  Resolved [sleininger](https://wordpress.org/support/users/sleininger/)
 * (@sleininger)
 * [9 years ago](https://wordpress.org/support/topic/code-modification-2/)
 * Hello,
 * Your code generate a undefined variable php error.
 * You replace by this code to remove this error :
 *     ```
       if ( $llstylesheet ) {
           $genoptions = get_option( 'LinkLibraryGeneral' );
           if (isset( $genoptions['fullstylesheet'] )){
              echo "<style id='LinkLibraryStyle' type='text/css'>\n";
              echo stripslashes( $genoptions['fullstylesheet'] );
              echo "</style>\n";
           };
       }
       ```
   
 * in the file link-library.php around the line 423

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [Yannick Lefebvre](https://wordpress.org/support/users/jackdewey/)
 * (@jackdewey)
 * [9 years ago](https://wordpress.org/support/topic/code-modification-2/#post-8974416)
 * I have just included this correction in latest update. Thanks for the precise
   code update and please consider donating to support this plugin’s development.
 *  Thread Starter [sleininger](https://wordpress.org/support/users/sleininger/)
 * (@sleininger)
 * [9 years ago](https://wordpress.org/support/topic/code-modification-2/#post-8975245)
 * Great, you must also replace $tag = new WPCF7_Shortcode( $tag ); by $tag = new
   WPCF7_FormTag( $tag ); at line 112
 *  Plugin Author [Yannick Lefebvre](https://wordpress.org/support/users/jackdewey/)
 * (@jackdewey)
 * [9 years ago](https://wordpress.org/support/topic/code-modification-2/#post-8975804)
 * This code is nowhere to be found in Link Library. Can you check the file name
   that the warning is coming from?
 *  Thread Starter [sleininger](https://wordpress.org/support/users/sleininger/)
 * (@sleininger)
 * [9 years ago](https://wordpress.org/support/topic/code-modification-2/#post-8976963)
 * Oh yes sorry 🙁 it’s in another plugin. Thanks for the update and for this great
   plugin.
 *  Plugin Author [Yannick Lefebvre](https://wordpress.org/support/users/jackdewey/)
 * (@jackdewey)
 * [9 years ago](https://wordpress.org/support/topic/code-modification-2/#post-8978543)
 * No trouble 😉 Just threw me for a loop for a couple of minutes.
 * Glad you’re enjoying the plugin and please consider donating to support its development.
   Cheers!

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Code modification’ is closed to new replies.

 * ![](https://ps.w.org/link-library/assets/icon-256x256.jpg?rev=971117)
 * [Link Library](https://wordpress.org/plugins/link-library/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/link-library/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/link-library/)
 * [Active Topics](https://wordpress.org/support/plugin/link-library/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/link-library/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/link-library/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Yannick Lefebvre](https://wordpress.org/support/users/jackdewey/)
 * Last activity: [9 years ago](https://wordpress.org/support/topic/code-modification-2/#post-8978543)
 * Status: resolved