Advertisement:

Author Topic: Error in item_detail.php  (Read 2365 times)

darmeth

  • Jr. Member
  • **
  • Posts: 75
Error in item_detail.php
« on: November 14, 2014, 01:22:37 am »
I could not get the upload CV button to appear.

The code was:
Code: [Select]
<?php if(osc_get_preference('allow_cv_upload''plugin')=='1' && ((osc_get_preference('allow_cv_unreg''jobs_plugin')=='1' && !osc_is_web_user_logged_in()) || osc_is_web_user_logged_in())) { ?>
Should be...
Code: [Select]
<?php if(osc_get_preference('allow_cv_upload''jobs_plugin')=='1' && ((osc_get_preference('allow_cv_unreg''jobs_plugin')=='1' && !osc_is_web_user_logged_in()) || osc_is_web_user_logged_in())) { ?>
Found on line 73, change ('allow_cv_upload', 'plugin') to ('allow_cv_upload', 'jobs_plugin')
« Last Edit: November 14, 2014, 01:25:38 am by darmeth »

Hennessy Pappy

  • Jr. Member
  • **
  • Posts: 52
  • r1
Re: Error in item_detail.php
« Reply #1 on: September 01, 2015, 12:48:59 am »
Thanks bro! U just saved my @$$ ...  ;D ;D ;D ;D